Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 13, 2011
  1. @samlown

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

    samlown authored
    Conflicts:
    	history.txt
  2. @samlown
  3. @samlown

    Demoting collection support, using latest couchrest, ensuring reduce …

    samlown authored
    …always included when needed
  4. @samlown
Commits on Mar 2, 2011
  1. @tapajos

    I'm using a shell script to run all specs in Ruby 1.9.2, MRI 1.8.7 an…

    tapajos authored
    …d ree 1.8.7 and I need this change to help me.
  2. @tapajos

    Updating Readme

    tapajos authored
  3. @chrisdurtschi @tapajos

    Numeric types can be casted from strings with leading or trailing whi…

    chrisdurtschi authored tapajos committed
    …tespace
    
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
Commits on Feb 27, 2011
  1. @samlown
  2. @samlown
  3. @samlown
Commits on Feb 25, 2011
  1. @tapajos

    Update History

    tapajos authored
  2. @tansengming @tapajos

    fixes typos in README

    tansengming authored tapajos committed
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
  3. @weppos @tapajos

    Whitespaces.

    weppos authored tapajos committed
  4. @weppos @tapajos

    Fixed typo

    weppos authored tapajos committed
  5. @weppos @tapajos

    Add Base#reload (closes #12)

    weppos authored tapajos committed
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
  6. @weppos @tapajos

    Validations spec are never executed due to an invalid filename pattern.

    weppos authored tapajos committed
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
  7. @weppos @tapajos

    Fixed UniquenessValidator error

    weppos authored tapajos committed
      1) Validations Uniqueness should not validate a non-unique document
         Failure/Error: @obj.errors[:title].should eql(['is already taken'])
    
         expected ["is already taken"]
              got ["translation missing: en.activemodel.errors.models.with_unique_validation.attributes.title.taken"]
    
         (compared using eql?)
    
         Diff:
         @@ -1,2 +1,2 @@
         -["is already taken"]
         +["translation missing: en.activemodel.errors.models.with_unique_validation.attributes.title.taken"]
         # ./spec/couchrest/validations_spec.rb:28:in `block (3 levels) in <top (required)>'
    
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
  8. @weppos @tapajos

    Change Uniqueness validator message to follow ActiveRecord and other …

    weppos authored tapajos committed
    …ORM behavior. Keeping the same message allows tools like Shoulda to work out of the box.
    
    Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
  9. @weppos @tapajos

    Narrow the rescued exception to avoid catching class evaluation error…

    weppos authored tapajos committed
    …s that has nothing to to with the association.
    
    Example:
    
        /Users/weppos/.rvm/gems/ruby-1.8.7-p330/gems/couchrest_model-1.0.0/lib/couchrest/model/associations.rb:29:in `belongs_to': Unable to convert class name into Constant for Document#dossier (RuntimeError)
    
    although the real error is
    
        /Users/weppos/Projects/working/.../app/models/user.rb:56: undefined method `validates_uniqueness_of' for User:Class (NoMethodError)
  10. @tapajos

    Lock Gemfile

    tapajos authored
Commits on Feb 13, 2011
  1. @samlown
Commits on Feb 9, 2011
  1. @samlown
  2. @samlown
Commits on Feb 6, 2011
  1. @samlown

    Testing for ViewRow

    samlown authored
  2. @samlown
  3. @samlown
  4. @samlown
Commits on Feb 5, 2011
  1. @samlown
  2. @samlown
  3. @samlown
Commits on Feb 2, 2011
  1. @samlown
  2. @samlown
Commits on Feb 1, 2011
  1. @samlown
  2. @gsterndale

    Use :validation callbacks, not the :validate callbacks reserved by Ac…

    gsterndale authored
    …tiveModel, ensuring callbacks are actually run when they're supposed to be.
Commits on Jan 22, 2011
  1. @samlown
Something went wrong with that request. Please try again.