instance method migrations_paths

Ruby on Rails 4.2.9

Since v3.1.12 Last seen in v5.2.8.1

Available in: v3.1.12 v3.2.22.5 v4.0.13 v4.1.16 v4.2.9 v5.2.8.1

Signature

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 36
    def migrations_paths
      ActiveRecord::Migrator.migrations_paths
    end

Defined in activerecord/lib/active_record/schema.rb line 36 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Schema

Type at least 2 characters to search.

↑↓ navigate · open · esc close