2013-06-25 20:46:50 -04:00
|
|
|
* `inclusion` / `exclusion` validations with ranges will only use the faster
|
|
|
|
`Range#cover` for numerical ranges, and the more accurate `Range#include?`
|
|
|
|
for non-numerical ones.
|
|
|
|
|
|
|
|
Fixes range validations like `:a..:f` that used to pass with values like `:be`.
|
|
|
|
Fixes #10593
|
2013-05-28 02:07:05 -04:00
|
|
|
|
|
|
|
*Charles Bergeron*
|
|
|
|
|
2013-05-20 15:13:21 -04:00
|
|
|
* Fix regression in has_secure_password. When a password is set, but a
|
|
|
|
confirmation is an empty string, it would incorrectly save.
|
|
|
|
|
|
|
|
*Steve Klabnik* and *Phillip Calvin*
|
|
|
|
|
2013-05-12 23:59:28 -04:00
|
|
|
* Deprecate `Validator#setup`. This should be done manually now in the validator's constructor.
|
|
|
|
|
|
|
|
*Nick Sutterer*
|
2013-02-26 11:45:20 -05:00
|
|
|
|
2013-04-29 12:06:45 -04:00
|
|
|
Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/activemodel/CHANGELOG.md) for previous changes.
|