diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/railtie.rb (renamed from activerecord/lib/active_record/rails.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/rails.rb b/activerecord/lib/active_record/railtie.rb index f628c3ace0..657ee738c0 100644 --- a/activerecord/lib/active_record/rails.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -3,11 +3,11 @@ # here. This is needed for correctly setting up the middleware. # In the future, this might become an optional require. require "active_record" -require "action_controller/rails" +require "action_controller/railtie" require "rails" module ActiveRecord - class Plugin < Rails::Plugin + class Railtie < Rails::Railtie plugin_name :active_record rake_tasks do |