diff options
author | Xavier Noria <fxn@hashref.com> | 2011-12-02 11:16:07 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-12-02 11:16:26 -0800 |
commit | 0be5adaedf6565630bed04c6c651f3ff8d77c5b8 (patch) | |
tree | 93659d4d00d89bca44b2b3fbd6e49a757602f5ca /activerecord/lib/active_record/base.rb | |
parent | 36c014193ee5de84b1ac7ef50524c656e01b142d (diff) | |
download | rails-0be5adaedf6565630bed04c6c651f3ff8d77c5b8.tar.gz rails-0be5adaedf6565630bed04c6c651f3ff8d77c5b8.tar.bz2 rails-0be5adaedf6565630bed04c6c651f3ff8d77c5b8.zip |
implements AR::Base(.|#)silence_auto_explain
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 3d55729318..dcd091aecb 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -2213,7 +2213,7 @@ MSG include Associations, NamedScope include IdentityMap include ActiveModel::SecurePassword - extend Explain + include Explain # AutosaveAssociation needs to be included before Transactions, because we want # #save_with_autosave_associations to be wrapped inside a transaction. |