diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-09-04 23:41:13 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-09-04 23:41:13 +0000 |
commit | b445ab986a2c177621a2154b0559be4c700abeeb (patch) | |
tree | 3c5529b1f41099f8f1789604b163c904e1e34252 /activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb | |
parent | 97487c4e1154696fb0b30ea8727ba5459f575719 (diff) | |
download | rails-b445ab986a2c177621a2154b0559be4c700abeeb.tar.gz rails-b445ab986a2c177621a2154b0559be4c700abeeb.tar.bz2 rails-b445ab986a2c177621a2154b0559be4c700abeeb.zip |
Rename quote to quote_value so the name can be used in AR models. #3628 [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb b/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb index fc1de92259..8c0e50e38e 100644 --- a/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +++ b/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb @@ -118,7 +118,7 @@ module ActiveRecord attributes[column.name] = record.quoted_id else if record.attributes.has_key?(column.name) - value = @owner.send(:quote, record[column.name], column) + value = @owner.send(:quote_value, record[column.name], column) attributes[column.name] = value unless value.nil? end end |