Browse files

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 <>
  • Loading branch information...
Neeraj Singh authored and josevalim committed Jul 28, 2010
1 parent 8402488 commit 1620f572bff9cd503e67480975bd0a652a77cf8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -12,7 +12,7 @@ module Dirty
raise "You cannot include Dirty after Timestamp"
superclass_delegating_accessor :partial_updates
class_attribute :partial_updates
self.partial_updates = true

0 comments on commit 1620f57

Please sign in to comment.