mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
'nil' => nil
This commit is contained in:
parent
e00afadfdd
commit
a3fbbb626f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue