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:
parent
085ce4f141
commit
7edb204598
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue