提交 ed507300 编写于 作者: E Evgeniy Dolzhenko

Fix minor mistake in activemodel/README

上级 ccf9577a
......@@ -177,7 +177,8 @@ functionality from the following modules:
end
person = Person.new(:first_name => 'zoolander')
person = Person.new
person.first_name = 'zoolander'
person.valid? #=> false
{Learn more}[link:classes/ActiveModel/Validations.html]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册