diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-04-10 15:43:51 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-04-10 15:43:51 -0300 |
commit | 7edb204598c3a2382a870ecd7018fc1a3a804138 (patch) | |
tree | 587b6ac3faf9fb21625b4090a012b081abd22221 /activerecord/lib | |
parent | 085ce4f1411238a6109fb9c22fdb2c46b27c2c0e (diff) | |
download | rails-7edb204598c3a2382a870ecd7018fc1a3a804138.tar.gz rails-7edb204598c3a2382a870ecd7018fc1a3a804138.tar.bz2 rails-7edb204598c3a2382a870ecd7018fc1a3a804138.zip |
No need to call send
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/fixtures.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 60ece6bd13..47d32fae05 100644 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -661,7 +661,7 @@ module ActiveRecord row[association.foreign_type] = $1 end - fk_type = association.send(:active_record).columns_hash[association.foreign_key].type + fk_type = association.active_record.columns_hash[association.foreign_key].type row[fk_name] = ActiveRecord::FixtureSet.identify(value, fk_type) end when :has_many |