couchrest_model/lib/couchrest
Simone Carletti f75893b927 Fixed UniquenessValidator error
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>
2011-02-24 23:39:34 -03:00
..
model Fixed UniquenessValidator error 2011-02-24 23:39:34 -03:00
model.rb set the CouchRest::Model::VERSION constant to the value of the VERSION file 2011-01-16 13:57:26 -05:00
railtie.rb Modifying railtie to use couchrest_model name 2010-11-19 01:03:40 +01:00