Skip to content

Commit

Permalink
Dont need to set the inherited attribute on a cattr_accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jul 5, 2011
1 parent 978ad66 commit e2540c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/mongoid/fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def fields=(fields)
def inherited(subclass)
super
subclass.fields = fields.dup
subclass.using_object_ids = using_object_ids
end

# Replace a field with a new type.
Expand Down

0 comments on commit e2540c8

Please sign in to comment.