Skip to content

Commit

Permalink
Fix syntax error in ActiveModel::Validations .validate example
Browse files Browse the repository at this point in the history
  • Loading branch information
fastred committed Oct 1, 2010
1 parent ee31847 commit 4ea9a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/validations.rb
Expand Up @@ -114,7 +114,7 @@ def validates_each(*attr_names, &block)
# end # end
# #
# def must_be_friends # 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
# end # end
# #
Expand Down

0 comments on commit 4ea9a8d

Please sign in to comment.