Sha256: 8b758f8a27c081bda0d85ee8243dbf12fe46f8bc1e37d58b9b4c21fcde4b7b40

Contents?: true

Size: 208 Bytes

Versions: 40

Compression:

Stored size: 208 Bytes

Contents

migrations = Rails.root.join("db/migrate")

unless ActiveRecord::Migrator.migrations_paths.any? { |p| File.expand_path(p).to_s == migrations.to_s }
  ActiveRecord::Migrator.migrations_paths << migrations
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
switchman-1.5.2 spec/dummy/config/initializers/migrations_path.rb
switchman-1.5.1 spec/dummy/config/initializers/migrations_path.rb
switchman-1.5.0 spec/dummy/config/initializers/migrations_path.rb
switchman-1.4.4 spec/dummy/config/initializers/migrations_path.rb
switchman-1.4.3 spec/dummy/config/initializers/migrations_path.rb
switchman-1.4.2 spec/dummy/config/initializers/migrations_path.rb
switchman-1.4.1 spec/dummy/config/initializers/migrations_path.rb
switchman-1.4.0 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.18 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.17 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.14.pre.1 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.13.pre.1 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.16 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.15 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.14 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.13 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.12 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.11 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.10 spec/dummy/config/initializers/migrations_path.rb
switchman-1.3.9 spec/dummy/config/initializers/migrations_path.rb