diff options
author | Akira Matsuda <ronnie@dio.jp> | 2010-12-17 14:37:22 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2010-12-17 14:37:22 +0900 |
commit | a3fbbb626fb8618162d39a55aeb5383406085e6c (patch) | |
tree | 842690554ea5c59f3437d05d1aa1721e248b1fd7 | |
parent | e00afadfdd998f22905c2a0d59e8d76602b3592c (diff) | |
download | rails-a3fbbb626fb8618162d39a55aeb5383406085e6c.tar.gz rails-a3fbbb626fb8618162d39a55aeb5383406085e6c.tar.bz2 rails-a3fbbb626fb8618162d39a55aeb5383406085e6c.zip |
'nil' => nil
-rw-r--r-- | activemodel/lib/active_model/serialization.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb index 37739b98a1..f659419293 100644 --- a/activemodel/lib/active_model/serialization.rb +++ b/activemodel/lib/active_model/serialization.rb @@ -15,7 +15,7 @@ module ActiveModel # attr_accessor :name # # def attributes - # @attributes ||= {'name' => 'nil'} + # @attributes ||= {'name' => nil} # end # # end @@ -45,7 +45,7 @@ module ActiveModel # attr_accessor :name # # def attributes - # @attributes ||= {'name' => 'nil'} + # @attributes ||= {'name' => nil} # end # # end |