diff options
author | Sıtkı Bağdat <sbagdat@gmail.com> | 2013-10-14 22:14:30 +0300 |
---|---|---|
committer | Sıtkı Bağdat <sbagdat@gmail.com> | 2013-10-14 22:14:30 +0300 |
commit | a94186f836044d5ddaf9b185e01a99dc1c2569f8 (patch) | |
tree | bdf883f0da4639ac3503a60e463fae55d4cc8ef7 /guides/w3c_validator.rb | |
parent | 42a99dbaba3f9968f800d24dfdb60c51bee091b1 (diff) | |
download | rails-a94186f836044d5ddaf9b185e01a99dc1c2569f8.tar.gz rails-a94186f836044d5ddaf9b185e01a99dc1c2569f8.tar.bz2 rails-a94186f836044d5ddaf9b185e01a99dc1c2569f8.zip |
Remove size alias for length validation
Removed ```The `size` helper is an alias for `length`.``` line. If you use this "nonexist" helper, you will get an error message like this:
```
ArgumentError: Unknown validator: 'SizeValidator'
...
```
Maybe wanted to mean ```validates_size_of``` helper as an alias for ```validates_length_of``` helper.
Diffstat (limited to 'guides/w3c_validator.rb')
0 files changed, 0 insertions, 0 deletions