Method: Fixation::Fixtures#apply_fixture_statements

Defined in:
lib/fixation/fixtures.rb

#apply_fixture_statements(connection) ⇒ Object



73
74
75
76
77
78
79
# File 'lib/fixation/fixtures.rb', line 73

def apply_fixture_statements(connection)
  @statements.each do |table_name, table_statements|
    table_statements.each do |statement|
      connection.execute(statement)
    end
  end
end