Commit Graph

10 Commits (d3331333194ba31ce1d26448cd542086af6ab662)

Author SHA1 Message Date
Will Leinweber d333133319 Adds suppport for ActiveModel::Dirty and ::AttributeMethods
* ActiveModel::Dirty
** Basic support for dirty tracking
** It does not bubble up any changes to casted models currently

* ActiveModel::AttributeMethods
** Attributes are now read and written through ActiveModel
** This also allows you to add your own attribute methods with
   prefix suffix and affix names. For more information check out
   ActiveModel::AttributeMethods::ClassMethods
2010-09-16 17:30:43 -05:00
Sam Lown dad386d8c9 Fixing time parsing issue for times without zone 2010-08-18 19:36:01 +02:00
Will Leinweber 1a7154f5bf refactor #read_ and #write_attribute to behave the same when called with a missing property 2010-08-11 22:27:53 -05: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 e638db63c2 Adding more tests for new property class layout 2010-06-16 22:02:12 +02:00
Sam Lown c06907fe58 Cleaned boolean tests 2010-05-22 00:24:07 +02:00
Sam Lown 5b048c2280 More trueness testing and removing string comparison for booleans 2010-05-22 00:17:33 +02:00
Sam Lown 3fa8c4b215 Fixing #property? support for boolean and TrueClass 2010-05-21 23:00:19 +02:00
Sam Lown 3894579304 Moving to own repo without the base couchrest 2010-05-10 21:19:24 +02:00