Skip to content

Commit

Permalink
Replaced older rocket sign to new :
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit Gupta-FIR committed Jul 4, 2013
1 parent 962925b commit 6a71d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/examples/validations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6a71d09

Please sign in to comment.