Commit Graph

5 Commits

Author SHA1 Message Date
Adam Meehan
7117a5ef22 reset employee class in specs 2010-08-03 15:06:51 +10:00
Adam Meehan
34a2d4b558 methods for validated attributes for write cache and before type cast
cache raw value in @attributes_cache which is AR convention but should
work fine with non-AR ORM
before type cast method for reading back cached raw value
2010-08-03 15:01:57 +10:00
Adam Meehan
fabb2be7af date/time select extension 2010-08-02 16:58:03 +10:00
Adam Meehan
d5124f32b2 use setup block to config which classes to extend 2010-08-01 23:27:25 +10:00
Adam Meehan
fdc3086976 initial Rails 3 rewrite commit
completely rewritten for ActiveModel compatibility
uses ActiveModel EachValidator class as validator base class
simplifies :between by splitting into a :on_or_before and an :on_of_after
only :is_at option tested
2010-08-01 18:35:18 +10:00