method

build_fixture_statements

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: DatabaseStatements
build_fixture_statements(fixture_set) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb, line 102
          def build_fixture_statements(fixture_set)
            fixture_set.flat_map do |table_name, fixtures|
              next if fixtures.empty?
              fixtures.map { |fixture| build_fixture_sql([fixture], table_name) }
            end.compact
          end
Register or log in to add new notes.