diff options
author | Joshua Wehner <joshua.wehner@gmail.com> | 2011-03-03 15:43:42 -0500 |
---|---|---|
committer | Joshua Wehner <joshua.wehner@gmail.com> | 2011-05-10 12:06:09 -0400 |
commit | 2cef2d411a20b89b71fb76876c33b331f94d0cc5 (patch) | |
tree | be87688daa4b431f01e1e05051fa764408341bfc /activemodel/test/models/contact.rb | |
parent | 8e55afb453beb8f98d647ae97619101b19b7f911 (diff) | |
download | rails-2cef2d411a20b89b71fb76876c33b331f94d0cc5.tar.gz rails-2cef2d411a20b89b71fb76876c33b331f94d0cc5.tar.bz2 rails-2cef2d411a20b89b71fb76876c33b331f94d0cc5.zip |
Methods that return nil should not be considered YAML
Diffstat (limited to 'activemodel/test/models/contact.rb')
-rw-r--r-- | activemodel/test/models/contact.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activemodel/test/models/contact.rb b/activemodel/test/models/contact.rb index f4f3078473..7bfc542afb 100644 --- a/activemodel/test/models/contact.rb +++ b/activemodel/test/models/contact.rb @@ -16,6 +16,10 @@ class Contact options.each { |name, value| send("#{name}=", value) } end + def pseudonyms + nil + end + def persisted? id end |