Permalink
Commits on Jun 18, 2011
  1. further rails 3.1 changes

    committed Jun 18, 2011
  2. Make it work with Rails 3.1

    committed May 24, 2011
  3. @samlown

    Merge pull request #93 from crx/persisted_behavior

    #persisted? should be false after a document has been destroyed
    samlown committed Jun 18, 2011
Commits on Jun 12, 2011
  1. @crx
Commits on Jun 8, 2011
  1. @samlown

    Updating history

    samlown committed Jun 8, 2011
  2. @samlown
  3. @samlown

    Merge branch 'master' of github.com:couchrest/couchrest_model

    Conflicts:
    	lib/couchrest/model/callbacks.rb
    samlown committed Jun 8, 2011
  4. @samlown

    Merge pull request #90 from kostia/validates_on

    Should be able to set contextual validations
    samlown committed Jun 8, 2011
  5. @samlown
  6. @kostia

    Should be able to set contextual validations

    Contextual validations are active __only__ within
    an appropriate context: either ”create" or ”update”.
    
    validates(:name, :presence => true, :on => :create)
    
    validates(:name, :presence => {:on => :update})
    
    See http://edgeguides.rubyonrails.org/active_record_validations_callbacks.html#on
    
    Should fix couchrest#90
    kostia committed Jun 8, 2011
  7. @samlown
  8. @samlown

    Merge branch 'master' of github.com:couchrest/couchrest_model

    Conflicts:
    	history.md
    	lib/couchrest/model/property.rb
    samlown committed Jun 8, 2011
  9. @samlown
  10. @tapajos

    History update

    tapajos committed Jun 8, 2011
Commits on Jun 7, 2011
  1. @kostia @tapajos

    Casted array should notify changes on deletion

    Otherwise there is no direct way to delete particular elements.
    
    Workaround with assigning to another array without those elements
    is pretty ugly.
    
    * Should notify on deletion at a particular index (Array#delete_at)
    * Should notify on deletion of a particular element (Array#delete)
    
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
    kostia committed with tapajos Jun 6, 2011
  2. @tapajos

    Update History

    tapajos committed Jun 7, 2011
  3. @kostia @tapajos

    Should be able to assign a casted hash to a hash property

    Fixes couchrest#68
    
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
    kostia committed with tapajos Jun 6, 2011
Commits on Jun 6, 2011
  1. @samlown

    Merge pull request #88 from kostia/incl_docs_paginate

    Should always include docs when paginating by Model##paginate
    samlown committed Jun 6, 2011
  2. @kostia
Commits on Jun 5, 2011
  1. @samlown

    Updating history

    samlown committed Jun 5, 2011
  2. @samlown
  3. @samlown
  4. @samlown
  5. @samlown
Commits on Jun 1, 2011
  1. @samlown

    Merge pull request #83 from pezra/init-blocks

    Init blocks
    samlown committed Jun 1, 2011
Commits on May 31, 2011
  1. @pezra
  2. @pezra
  3. @pezra
  4. @tapajos

    History update

    tapajos committed May 31, 2011
  5. @pezra @tapajos

    Implement #get! and #find! class methods

    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
    pezra committed with tapajos May 23, 2011
Commits on May 23, 2011
  1. @pezra
Commits on May 21, 2011
  1. @samlown
Commits on May 20, 2011
  1. @samlown
  2. @samlown
Commits on May 18, 2011
  1. @samlown