diff options
author | fastred <fastred@fastred.org> | 2010-10-01 18:32:46 +0200 |
---|---|---|
committer | fastred <fastred@fastred.org> | 2010-10-01 18:32:46 +0200 |
commit | 4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768 (patch) | |
tree | 248185efc4f750a654c3a341b23e9944c8d853a7 | |
parent | ee31847a5a650c93a49ebb6e4d1dc93bd2c1923f (diff) | |
download | rails-4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768.tar.gz rails-4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768.tar.bz2 rails-4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768.zip |
Fix syntax error in ActiveModel::Validations .validate example
-rw-r--r-- | activemodel/lib/active_model/validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 # |