diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 11:25:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 11:25:55 +0000 |
commit | 7b5ed66122873eebb773a6418f3a94d946cc4f8c (patch) | |
tree | 63c77291a6c78c7446bb5041b062bc8485a0fb5f /activerecord/CHANGELOG | |
parent | 61960e7b37767140e9af68bd5373e06dce08492d (diff) | |
download | rails-7b5ed66122873eebb773a6418f3a94d946cc4f8c.tar.gz rails-7b5ed66122873eebb773a6418f3a94d946cc4f8c.tar.bz2 rails-7b5ed66122873eebb773a6418f3a94d946cc4f8c.zip |
Added respondence to *_before_type_cast for all attributes to return their string-state before they were type casted by the column type. Added use of *_before_type_cast for all input and text fields.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index e9927ae980..573fa9f618 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,8 @@ *SVN* +* Added respondence to *_before_type_cast for all attributes to return their string-state before they were type casted by the column type. + This is helpful for getting "100,000" back on a integer-based validation where the value would normally be "100". + * Fixed the automated timestamping feature when running under Rails' development environment that resets the inheritable attributes on each request. * Added Base#update_attributes that'll accept a hash of attributes and save the record (returning true if it passed validation, false otherwise). |