Permalink
Browse files

Fixed the docs for should_only_allow_numeric_values_for [#167 state:r…

…esolved]
  • Loading branch information...
1 parent 5245ea3 commit b31720a32e03ecebc119ee1aaea9e94992b7a3ca @jferris jferris committed Feb 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/shoulda/active_record/macros.rb
@@ -336,7 +336,7 @@ def should_validate_numericality_of(*attributes)
end
end
- # Deprecated. See should_validate_uniqueness_of
+ # Deprecated. See should_validate_numericality_of
def should_only_allow_numeric_values_for(*attributes)
warn "[DEPRECATION] should_only_allow_numeric_values_for is " <<
"deprecated. Use should_validate_numericality_of instead."

0 comments on commit b31720a

Please sign in to comment.