mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Replaced older rocket sign to new :
This commit is contained in:
parent
962925bffd
commit
6a71d09ad2
1 changed files with 1 additions and 1 deletions
|
@ -25,5 +25,5 @@ person1 = Person.new
|
|||
p person1.valid? # => false
|
||||
p person1.errors.messages # => {:name=>["can't be blank"]}
|
||||
|
||||
person2 = Person.new(:name => "matz")
|
||||
person2 = Person.new(name: 'matz')
|
||||
p person2.valid? # => true
|
||||
|
|
Loading…
Reference in a new issue