提交 29561d84 编写于 作者: R Rafael Mendonça França

Merge pull request #11295 from ankit8898/master

Replaced older rocket sign to new  ":" 
......@@ -25,5 +25,5 @@ def persisted?
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册