mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Replacing superclass_delegating_accessoror with class_attribute.
:partial_attributes will have value true or false so there is no danger of mutability here. Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ module ActiveRecord
|
||||
raise "You cannot include Dirty after Timestamp"
|
||||
end
|
||||
|
||||
superclass_delegating_accessor :partial_updates
|
||||
class_attribute :partial_updates
|
||||
self.partial_updates = true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user