1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

No need to call send

This commit is contained in:
Rafael Mendonça França 2014-04-10 15:43:51 -03:00
parent 085ce4f141
commit 7edb204598

View file

@ -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