From 6a71d09ad20bd0859c3229d0be21e40d21fc73ff Mon Sep 17 00:00:00 2001 From: Ankit Gupta-FIR Date: Thu, 4 Jul 2013 17:25:50 +0100 Subject: [PATCH] Replaced older rocket sign to new : --- activemodel/examples/validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/examples/validations.rb b/activemodel/examples/validations.rb index 2c5cc11f49..c94cd17e18 100644 --- a/activemodel/examples/validations.rb +++ b/activemodel/examples/validations.rb @@ -25,5 +25,5 @@ person1 = Person.new 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