aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-14 13:50:32 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-14 13:50:32 -0700
commit028b4d7d7e220bd4c417136e4e55a6baf7111d99 (patch)
tree71e9f9e0aad38b245690d61865a5a7a841dac557
parent03c98bddfd22d8df9daa0ea74f04f1ee72cddf89 (diff)
parenta94186f836044d5ddaf9b185e01a99dc1c2569f8 (diff)
downloadrails-028b4d7d7e220bd4c417136e4e55a6baf7111d99.tar.gz
rails-028b4d7d7e220bd4c417136e4e55a6baf7111d99.tar.bz2
rails-028b4d7d7e220bd4c417136e4e55a6baf7111d99.zip
Merge pull request #12536 from sbagdat/patch-1
Remove size alias for length validation
-rw-r--r--guides/source/active_record_validations.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md
index 797b996357..0df52a655f 100644
--- a/guides/source/active_record_validations.md
+++ b/guides/source/active_record_validations.md
@@ -438,8 +438,6 @@ provide a personalized message or use `presence: true` instead. When
`:in` or `:within` have a lower limit of 1, you should either provide a
personalized message or call `presence` prior to `length`.
-The `size` helper is an alias for `length`.
-
### `numericality`
This helper validates that your attributes have only numeric values. By