Sha256: 6d24197471409dda2867adc165b4239386e28e706441d5f06cab681f7efc58c9
Contents?: true
Size: 531 Bytes
Versions: 10
Compression:
Stored size: 531 Bytes
Contents
require 'rake' module PhobosDBCheckpoint module Tasks extend Rake::DSL if defined? Rake::DSL namespace :db do task :environment do PhobosDBCheckpoint.configure end task :load_config do PhobosDBCheckpoint.load_db_config task_db_config = Hash[PhobosDBCheckpoint.env, PhobosDBCheckpoint.db_config.merge('pool' => 1)] ActiveRecord::Tasks::DatabaseTasks.database_configuration = task_db_config end end load 'active_record/railties/databases.rake' end end
Version data entries
10 entries across 10 versions & 1 rubygems