Skip to content

Commit

Permalink
Fixed the docs for should_only_allow_numeric_values_for [thoughtbot#167
Browse files Browse the repository at this point in the history
… state:resolved]
  • Loading branch information
jferris committed Feb 26, 2009
1 parent 5245ea3 commit b31720a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shoulda/active_record/macros.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit b31720a

Please sign in to comment.