diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-19 21:01:10 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-19 21:01:10 +0000 |
commit | e32149ad600796efcf7191eff0946ca9616c4d65 (patch) | |
tree | 467bc046511d3f3bd05d5c7d059182f9e60c5719 /activerecord/lib | |
parent | ec98a720eced989e7af2848edfd512db53e52f0c (diff) | |
download | rails-e32149ad600796efcf7191eff0946ca9616c4d65.tar.gz rails-e32149ad600796efcf7191eff0946ca9616c4d65.tar.bz2 rails-e32149ad600796efcf7191eff0946ca9616c4d65.zip |
Correct typo in before_type_cast code. Closes #11165 [amishyn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index a25d9789d7..4f33b96034 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -2223,7 +2223,7 @@ module ActiveRecord #:nodoc: # Returns a hash of attributes before typecasting and deserialization. def attributes_before_type_cast self.attribute_names.inject({}) do |attrs, name| - attrs[name] = read_attribute_before_typecast(name) + attrs[name] = read_attribute_before_type_cast(name) attrs end end |