aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/fixture_set/table_rows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/fixture_set/table_rows.rb')
-rw-r--r--activerecord/lib/active_record/fixture_set/table_rows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixture_set/table_rows.rb b/activerecord/lib/active_record/fixture_set/table_rows.rb
index 3e3c0bc7ab..8a99df29ce 100644
--- a/activerecord/lib/active_record/fixture_set/table_rows.rb
+++ b/activerecord/lib/active_record/fixture_set/table_rows.rb
@@ -58,7 +58,7 @@ module ActiveRecord
end
def model_metadata
- @model_metadata ||= ModelMetadata.new(model_class, table_name)
+ @model_metadata ||= ModelMetadata.new(model_class)
end
def resolve_sti_reflections(row)