Skip to content
Commits on May 9, 2009
  1. added bulk_load macro

    Chris Anderson committed May 8, 2009
Commits on Apr 28, 2009
  1. @mattetti
  2. @will @mattetti

    Specs now clean up after themselves by deleting the test databases

    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
    will committed with mattetti Mar 21, 2009
  3. @mattetti

    Make "property :foo, :default => false" work

      Before a default value of false was treated like a default of nil,
      which is not the same.
    
    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
    Mutwin Kraus committed with mattetti Apr 26, 2009
  4. @mattetti

    Improvements for ExtendedDocument initializer

      * Tries to send arg= to the Document before setting the attribute
    
    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
    Mutwin Kraus committed with mattetti Apr 23, 2009
  5. @yohei @mattetti

    fixed a bug with CastedModel constructer calling Hash#initialize(ifnone)

    Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
    yohei committed with mattetti Apr 2, 2009
Commits on Apr 16, 2009
  1. version support note

    Chris Anderson committed Apr 16, 2009
Commits on Apr 1, 2009
  1. @gbuesing @mattetti
  2. @gbuesing @mattetti

    Adding Rails-related monkeypatches file, which isn't required by defa…

    …ult. Contains fixes for Rails routing and Rails form error compatibility.
    gbuesing committed with mattetti Apr 1, 2009
Commits on Mar 31, 2009
  1. Revert "Server URI can now include a prefix to the database name"

    This reverts commit 14acd95.
    Chris Anderson committed Mar 31, 2009
  2. @candlerb @mattetti
  3. @candlerb @mattetti
  4. @candlerb @mattetti
Commits on Mar 27, 2009
  1. @mattetti

    updated the gemspec

    mattetti committed Mar 27, 2009
  2. @adamhjk @mattetti

    Adding a Gem Package rake (rake package) task, along with rake instal…

    …l (to install the gem after building)
    adamhjk committed with mattetti Mar 25, 2009
  3. @mattetti
  4. @mattetti
  5. @gbuesing @mattetti

    Add call to super in CouchRest::Validation.inherited hook, so that Ex…

    …tendedDocument.inherited isn't bypassed. This reveals a failing test: Subclassing an ExtendedDocument should inherit default property values
    gbuesing committed with mattetti Mar 25, 2009
  6. @gbuesing @mattetti

    Make design_doc non-inheritable. Fixes bug where views added to a chi…

    …ld class were propagated to the parent and siblings. Child class "all" view map function now checks in guard clause for child class name instead of parent name
    gbuesing committed with mattetti Mar 25, 2009
  7. @gbuesing @mattetti

    Don't make design_doc_slug_cache and design_doc_fresh inheritable, be…

    …cause these settings should be specific to the class
    gbuesing committed with mattetti Mar 25, 2009
  8. @candlerb @mattetti
  9. @candlerb @mattetti

    Escape slash in database name

    candlerb committed with mattetti Mar 26, 2009
  10. @mattetti

    Merge commit 'candlerb/candlerb/design-doc' into candlerb-merge

    * commit 'candlerb/candlerb/design-doc':
      Update handler for old versions of couchdb
      ClassProxy provides class-level methods on a dynamically chosen database.
      Remove obsolete 'move' methods
      Tidying up spec, remove unnecessary assignments to local variable
      Multiple database support for ExtendedDocument.
      Typo in comment
      Move design_doc attributes to Mixins::DesignDoc
    mattetti committed Mar 27, 2009
  11. @candlerb
  12. @candlerb

    ClassProxy provides class-level methods on a dynamically chosen datab…

    …ase.
    
    Examples:
    
      db = CouchRest::Database.new(...)
      articles = Article.on(db)
    
      articles.all { ... }
      articles.by_title { ... }
    
      u = articles.get("someid")
    
      u = articles.new(:title => "I like plankton")
      u.save    # saved on the correct database
    candlerb committed Mar 27, 2009
  13. @candlerb

    Remove obsolete 'move' methods

    candlerb committed Mar 27, 2009
  14. @candlerb
  15. @candlerb

    Multiple database support for ExtendedDocument.

    New optional parameters are available to select the database:
    
    Mixins::DocumentQueries
      * get <id>, <db>
      * all :database => <db>
      * first :database => <db>
    
    Mixins::Views
      * view <name>, :database => <db>
      * all_design_doc_versions <db>
      * cleanup_design_docs! <db>
    
    Mixins::DesignDoc
      * refresh_design_doc now only updates the design_doc _id and removes _rev
      * call save_design_doc to save and update the design_doc
      * call save_design_doc_on <db> to save the design doc on a given
        database without modifying the model's design_doc object
    
    Design (core/design.rb)
      * new method view_on <db>, ...
    
    Bug fixes:
      * design_doc_slug in mixins/design_doc.rb was using an empty document
        to calculate the slug each time
      * method_missing in core/extended_document.rb now passes a block through
    candlerb committed Mar 27, 2009
Commits on Mar 26, 2009
  1. @candlerb

    Typo in comment

    candlerb committed Mar 26, 2009
  2. @candlerb
Commits on Mar 25, 2009
  1. @mattetti

    upgraded the gemspec (ruby1.9 compatible and enforcing a properly wor…

    …king version of rubygems)
    mattetti committed Mar 25, 2009
  2. @gbuesing @mattetti
  3. @gbuesing @mattetti

    Validation inheritance: do deeper dup so that child classes don't add…

    … to the parent's validations
    gbuesing committed with mattetti Mar 25, 2009
Commits on Mar 23, 2009
  1. fixed gemspec

    Chris Anderson committed Mar 23, 2009
Something went wrong with that request. Please try again.