Permalink
Browse files

Move the ActiveRecord related rake tasks into the AR gem.

  • Loading branch information...
1 parent d747b68 commit 49c800b6bdf10af4e3f07eee33c4e6d23e7a946d Carl Lerche committed Dec 29, 2009
@@ -11,6 +11,10 @@ class Plugin < Rails::Plugin
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 @@
# Load Rails rakefile extensions
%w(
annotations
- databases
documentation
framework
log

0 comments on commit 49c800b

Please sign in to comment.