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:
parent
ee31847a5a
commit
4ea9a8d9ad
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue