From 4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768 Mon Sep 17 00:00:00 2001 From: fastred Date: Fri, 1 Oct 2010 18:32:46 +0200 Subject: Fix syntax error in ActiveModel::Validations .validate example --- activemodel/lib/active_model/validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model') diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 1b5fb55b79..b044caa8d3 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -114,7 +114,7 @@ module ActiveModel # end # # def must_be_friends - # errors.add(:base, ("Must be friends to leave a comment") unless commenter.friend_of?(commentee) + # errors.add(:base, "Must be friends to leave a comment") unless commenter.friend_of?(commentee) # end # end # -- cgit v1.2.3