From a3fbbb626fb8618162d39a55aeb5383406085e6c Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 17 Dec 2010 14:37:22 +0900 Subject: 'nil' => nil --- activemodel/lib/active_model/serialization.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel/lib') 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 -- cgit v1.2.3