Sha256: f50554ead4973fcb065083e8275bf5c07512531e4c9d83af50361bfa594fc17b

Contents?: true

Size: 263 Bytes

Versions: 11

Compression:

Stored size: 263 Bytes

Contents

require File.expand_path("../../../standalone_migrations", __FILE__)
namespace :standalone do
  task :connection do
    configurator = StandaloneMigrations::Configurator.new
    ActiveRecord::Base.establish_connection configurator.config_for(Rails.env)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
standalone_migrations-2.1.4 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.1.3 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.1.1 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.1.0 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.6 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.5 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.4 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.3 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.2 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.1 lib/standalone_migrations/tasks/connection.rake
standalone_migrations-2.0.0 lib/standalone_migrations/tasks/connection.rake