Sam Lown
1bced3b207
Merge branch 'master' of https://github.com/2moro/couchrest_model into 2moro-dirty
...
Conflicts:
.gitignore
lib/couchrest/model/base.rb
lib/couchrest/model/configuration.rb
lib/couchrest_model.rb
2011-04-20 10:47:36 +02:00
Sam Lown
1d37f12982
Adding support for scopes on unique validation
2011-04-08 14:36:29 +02:00
Andrew Williams
4dbf694e51
now using ActiveModel::Dirty. only writes to database if model.changed?
2011-03-01 01:30:41 +10:30
Greg Sterndale
4682e4ac5d
Use :validation callbacks, not the :validate callbacks reserved by ActiveModel, ensuring callbacks are actually run when they're supposed to be.
2011-02-01 14:32:38 -05:00
Sam Lown
fcbc0b08e5
Adding manual view support to uniqueness validation
2010-06-21 23:12:15 +02:00
Sam Lown
08390e6709
Adding uniqueness validation support out of the box
2010-06-21 21:33:46 +02:00
Sam Lown
c280b3a29b
Renaming to CouchRest Model
...
Refactored basic directory structure.
Moved to ActiveSupport for Validations and Callbacks.
Cleaned up older code, and removed support for text property types.
2010-06-20 22:01:11 +02:00