instance method
migrations_paths
Ruby on Rails 4.1.16
Since v3.1.12 Last seen in v5.2.8.1Signature
migrations_paths()
Returns the migrations paths.
ActiveRecord::Schema.new.migrations_paths # => ["db/migrate"] # Rails migration path by default.
Source
# File activerecord/lib/active_record/schema.rb, line 37
def migrations_paths
ActiveRecord::Migrator.migrations_paths
end
Defined in activerecord/lib/active_record/schema.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Schema