This method is deprecated or moved on the latest stable version.
The last existing version (v5.2.3) is shown here.
insert_fixtures(fixtures, table_name)
public
Inserts a set of fixtures into the table. Overridden in adapters that
require something beyond a simple insert
(eg. Oracle).
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 371
def insert_fixtures(fixtures, table_name)
ActiveSupport::Deprecation.warn( `insert_fixtures` is deprecated and will be removed in the next version of Rails. Consider using `insert_fixtures_set` for performance improvement..squish)
return if fixtures.empty?
execute(build_fixture_sql(fixtures, table_name), "Fixtures Insert")
end