diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-10 09:41:28 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-10 09:41:28 -0700 |
commit | ceaf73a503814d000167503888a62c1a393730d4 (patch) | |
tree | 28fed0ac20ba91f31345e911c73e7247d16efe4e /activemodel/test/models/contact.rb | |
parent | 4de977117f5d7123aa97ab3837cc96ec19c68d33 (diff) | |
parent | 2cef2d411a20b89b71fb76876c33b331f94d0cc5 (diff) | |
download | rails-ceaf73a503814d000167503888a62c1a393730d4.tar.gz rails-ceaf73a503814d000167503888a62c1a393730d4.tar.bz2 rails-ceaf73a503814d000167503888a62c1a393730d4.zip |
Merge pull request #492 from jaw6/master
Serialized 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 |