method
migrations_path=
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Migrator
migrations_path=(path)public
No documentation available.
# File activerecord/lib/active_record/migration.rb, line 1164
def migrations_path=(path)
ActiveSupport::Deprecation.warn "`ActiveRecord::Migrator.migrations_path=` is now deprecated and will be removed in Rails 6.0. " "You can set the `migrations_paths` on the `connection` instead through the `database.yml`."
self.migrations_paths = [path]
end