Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix syntax error in ActiveModel::Validations .validate example

  • Loading branch information...
commit 4ea9a8d9ad71265f9dfb30503ed4b0c9e21fb768 1 parent ee31847
@fastred fastred authored
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
#
Please sign in to comment.
Something went wrong with that request. Please try again.