Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2378 from cesario/remove_warnings_activemodel

Remove warnings by calling remove_method
  • Loading branch information...
commit 6aaae3de277b572f37e09f16ae12737c3c87dfb7 2 parents fdbc4e5 + 325fdfc
@vijaydev vijaydev authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.