diff options
author | Franck Verrot <franck@verrot.fr> | 2011-07-31 20:05:58 +0200 |
---|---|---|
committer | Franck Verrot <franck@verrot.fr> | 2011-07-31 20:05:58 +0200 |
commit | 325fdfc92833cd2a0ccc97f4e168f11a406edc76 (patch) | |
tree | b1475c5a0d26d24bea81a7918c002c4ec135e306 | |
parent | 3c4c281ed03b875e54579e006e3b7e6505042eec (diff) | |
download | rails-325fdfc92833cd2a0ccc97f4e168f11a406edc76.tar.gz rails-325fdfc92833cd2a0ccc97f4e168f11a406edc76.tar.bz2 rails-325fdfc92833cd2a0ccc97f4e168f11a406edc76.zip |
Remove warnings by calling remove_method
-rw-r--r-- | activemodel/test/cases/serializers/xml_serialization_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/test/cases/serializers/xml_serialization_test.rb b/activemodel/test/cases/serializers/xml_serialization_test.rb index a38ef8e223..85f2085675 100644 --- a/activemodel/test/cases/serializers/xml_serialization_test.rb +++ b/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 |