Browse files

Merge pull request #2378 from cesario/remove_warnings_activemodel

Remove warnings by calling remove_method
  • Loading branch information...
2 parents fdbc4e5 + 325fdfc commit 6aaae3de277b572f37e09f16ae12737c3c87dfb7 @vijaydev vijaydev committed Nov 5, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 activemodel/test/cases/serializers/xml_serialization_test.rb
View
1 activemodel/test/cases/serializers/xml_serialization_test.rb
@@ -9,6 +9,7 @@ class Contact
attr_accessor :address, :friends
+ remove_method :attributes
def attributes
instance_values.except("address", "friends")
end

0 comments on commit 6aaae3d

Please sign in to comment.