Permalink
Browse files

Remove bad markup on validation method placeholders

  • Loading branch information...
1 parent 8f1c229 commit 067468b8822c391d25dfd42583b04b3013f1f9f8 @ffmike ffmike committed Dec 8, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/validations.rb
@@ -1049,15 +1049,15 @@ def errors
protected
# Overwrite this method for validation checks on all saves and use <tt>Errors.add(field, msg)</tt> for invalid attributes.
- def validate #:doc:
+ def validate
end
# Overwrite this method for validation checks used only on creation.
- def validate_on_create #:doc:
+ def validate_on_create
end
# Overwrite this method for validation checks used only on updates.
- def validate_on_update # :doc:
+ def validate_on_update
end
end
end

0 comments on commit 067468b

Please sign in to comment.