1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix syntax error in ActiveModel::Validations .validate example

This commit is contained in:
fastred 2010-10-01 18:32:46 +02:00
parent ee31847a5a
commit 4ea9a8d9ad

View file

@ -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
#