Commit graph

12 commits

Author SHA1 Message Date
Sam Lown
1019a44d26 Anonymous casted model properties no longer require block parameter 2011-02-05 22:38:22 +01:00
Sam Lown
1ccb96bf56 Merge branch 'errors_fix' of https://github.com/gsterndale/couchrest_model into errors_fix 2011-02-02 20:17:51 +01:00
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
Greg Sterndale
8d9637249c Fix deprecated ActiveModel::Errors#add options 2011-01-18 09:00:35 -05:00
Sam Lown
31770ba571 Merge branch 'master' of github.com:couchrest/couchrest_model 2010-09-05 19:18:37 +02:00
Will Leinweber
c2fde42fa6 bugfix: allow CastedArrays to be assigned
(And be a bit more general about it)
2010-09-03 12:23:53 -05:00
Sam Lown
cc075fb69b Moving test to saner location 2010-08-24 19:30:41 +02:00
Sam Lown
fafbfff474 Ensuring update_attributes cannot be called in CastedModel as per issue #9 2010-08-24 19:27:35 +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
Sam Lown
1b89f1e1df Array Properties accept hash with ordered keys and raise error for anything else 2010-06-18 01:24:49 +02:00
Sam Lown
2b0694e1e2 Merged 2010-06-16 21:04:53 +02:00
Sam Lown
3894579304 Moving to own repo without the base couchrest 2010-05-10 21:19:24 +02:00
Renamed from spec/couchrest/more/casted_model_spec.rb (Browse further)