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-4.1.0.333 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-4.0.0.332 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.18.1.330 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.18.0.329 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.17.2.327 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.17.1.326 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.17.0.325 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.16.3.323 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.16.2.321 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.16.1.320 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.16.0.318 test/multiverse/suites/active_record/Rakefile
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.15.2.317/test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.15.2.317 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.15.1.316 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.15.0.314 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.14.3.313 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.14.2.312 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.14.1.311 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.14.0.305 test/multiverse/suites/active_record/Rakefile
newrelic_rpm-3.13.2.302 test/multiverse/suites/active_record/Rakefile