Permalink
Browse files

Replaced older rocket sign to new :

  • Loading branch information...
1 parent 962925b commit 6a71d09ad20bd0859c3229d0be21e40d21fc73ff Ankit Gupta-FIR committed Jul 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/examples/validations.rb
@@ -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.