Sha256: a0af71f5e319ddf2a8045ee5e820382a655512bb748b7ae740803b0db748eb20

Contents?: true

Size: 281 Bytes

Versions: 33

Compression:

Stored size: 281 Bytes

Contents

require File.expand_path('config/database')

desc "Setup for ActiveRecord"
task :environment do
  if defined?(DatabaseTasks)
    ActiveRecord::Base.configurations = DatabaseTasks.database_configuration
    ActiveRecord::Base.establish_connection DatabaseTasks.env.to_sym
  end
end

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
newrelic_rpm-3.13.1.300 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.13.0.299 test/multiverse/suites/active_record/Rakefile
mmtrix_rpm-1.0.0.3 test/multiverse/suites/active_record/Rakefile
mmtrix_rpm-1.0.0.2 test/multiverse/suites/active_record/Rakefile
mmtrix_rpm-1.0.0.1 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.12.1.298 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.12.0.288 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.11.2.286 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.11.1.284 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.11.0.283 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.10.0.279 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.9.9.275 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.9.8.273 test/multiverse/suites/active_record/Rakefile