Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix minor mistake in activemodel/README

  • Loading branch information...
commit ed507300f05fa5e86f7f7d8988f2d25a91b37b8b 1 parent ccf9577
@dolzenko dolzenko authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activemodel/README
View
3  activemodel/README
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.