instance method
load_schema
Ruby on Rails 4.2.9
Since v4.1.16 Last seen in v4.2.9Available in: v4.1.16 v4.2.9
Signature
load_schema(format = ActiveRecord::Base.schema_format, file = nil)
No documentation comment.
Parameters
-
formatopt = ActiveRecord::Base.schema_format -
fileopt = nil
Source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 194
def load_schema(format = ActiveRecord::Base.schema_format, file = nil)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
This method will act on a specific connection in the future.
To act on the current connection, use `load_schema_current` instead.
MSG
load_schema_current(format, file)
end
Defined in activerecord/lib/active_record/tasks/database_tasks.rb line 194
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Tasks::DatabaseTasks