instance method insert_fixtures

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1

Signature

insert_fixtures(rows, table_name)

No documentation comment.

Parameters

rows req
table_name req
Source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 369
      def insert_fixtures(rows, table_name)
        ActiveSupport::Deprecation.warn(<<-MSG.squish)
          `insert_fixtures` is deprecated and will be removed in the next version of Rails.
          Consider using `insert_fixtures_set` for performance improvement.
        MSG
        insert_fixtures_set(table_name => rows)
      end

Defined in activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb line 369 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::SQLite3Adapter

Type at least 2 characters to search.

↑↓ navigate · open · esc close