instance method
structure_for
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
structure_for(structures, table)
No documentation comment.
Parameters
-
structuresreq -
tablereq
Source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 552
def structure_for(structures, table)
structures.fetch(table) do
raise ActiveRecord::StatementInvalid.new("Could not find table '#{table}'", connection_pool: @pool)
end
end
Defined in activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb line 552
· View on GitHub
· Improve this page
· Find usages on GitHub