From e32149ad600796efcf7191eff0946ca9616c4d65 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Tue, 19 Feb 2008 21:01:10 +0000 Subject: 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 --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record') 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 -- cgit v1.2.3