Skip to content
Browse files

Fix syntax error in ActiveModel::Validations .validate example

  • Loading branch information...
1 parent ee31847 commit 4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768 @fastred fastred committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/validations.rb
View
2 activemodel/lib/active_model/validations.rb
@@ -114,7 +114,7 @@ def validates_each(*attr_names, &block)
# 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
#

0 comments on commit 4ea9a8d

Please sign in to comment.
Something went wrong with that request. Please try again.