validates_timeliness/CHANGELOG
Adam Meehan 0ef34c7d28 parse_date_time method returns for date column to return Date object when assigned string as per normal Rails
parse_date_time method returns same object when assigned Date or Time object
2008-08-22 15:12:38 +10:00

16 lines
649 B
Plaintext

[2008-08-22]
- fixed bug with attribute cache not clearing on write for date and time columns [reported by Sylvestre Mergulhão]
- return Date object for date column attribute reader when assigned string as per normal Rails behaviour
- attribute reader returns same object type when assigned Date or Time object as per normal Rails behaviour
[2008-08-07]
- modified matcher option value parsing to allow same value types as validation method
- fixed matcher message
[2008-08-02]
- refactored validation
- refactored matcher
[2008-07-30]
- removed setting values to nil when validation fails to preserve before_type_cast value