mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Move the ActiveRecord related rake tasks into the AR gem.
This commit is contained in:
@@ -11,6 +11,10 @@ module ActiveRecord
|
||||
|
||||
config.action_controller.include "ActiveRecord::ControllerRuntime"
|
||||
|
||||
rake_tasks do
|
||||
load "active_record/rails/databases.rake"
|
||||
end
|
||||
|
||||
initializer "active_record.set_configs" do |app|
|
||||
app.config.active_record.each do |k,v|
|
||||
ActiveRecord::Base.send "#{k}=", v
|
||||
|
||||
@@ -3,7 +3,6 @@ $VERBOSE = nil
|
||||
# Load Rails rakefile extensions
|
||||
%w(
|
||||
annotations
|
||||
databases
|
||||
documentation
|
||||
framework
|
||||
log
|
||||
|
||||
Reference in New Issue
Block a user