aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorKeenan Brock <kbrock@redhat.com>2014-01-22 09:28:19 -0500
committerKeenan Brock <kbrock@redhat.com>2014-01-22 09:28:19 -0500
commit72403003085ff6413ddf53e34561175e3dd68168 (patch)
tree996c9fbaa390454a6e8ee80331621009bcc9fb8a /activerecord/lib/active_record/base.rb
parentc6ecfc1668d6e2c69d360ed376b9e3f77ad72e83 (diff)
downloadrails-72403003085ff6413ddf53e34561175e3dd68168.tar.gz
rails-72403003085ff6413ddf53e34561175e3dd68168.tar.bz2
rails-72403003085ff6413ddf53e34561175e3dd68168.zip
put core at the beginning so other classes can modify the behavior
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 1d3ec75aa1..9ec1feea97 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -294,6 +294,7 @@ module ActiveRecord #:nodoc:
extend Enum
extend Delegation::DelegateCache
+ include Core
include Persistence
include NoTouching
include ReadonlyAttributes
@@ -320,7 +321,6 @@ module ActiveRecord #:nodoc:
include Reflection
include Serialization
include Store
- include Core
end
ActiveSupport.run_load_hooks(:active_record, Base)