Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

put core at the beginning so other classes can modify the behavior

  • Loading branch information...
commit 72403003085ff6413ddf53e34561175e3dd68168 1 parent c6ecfc1
@kbrock kbrock authored
View
2  activerecord/lib/active_record/base.rb
@@ -294,6 +294,7 @@ class Base
extend Enum
extend Delegation::DelegateCache
+ include Core
include Persistence
include NoTouching
include ReadonlyAttributes
@@ -320,7 +321,6 @@ class Base
include Reflection
include Serialization
include Store
- include Core
end
ActiveSupport.run_load_hooks(:active_record, Base)
View
2  activerecord/lib/active_record/timestamp.rb
@@ -37,8 +37,8 @@ module Timestamp
end
def initialize_dup(other) # :nodoc:
- clear_timestamp_attributes
super
+ clear_timestamp_attributes
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.