mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
d6cbb27e7b260c970bf7d07dc0b0591ed82cee2a
Having a huge array to whitelist options is not the proper way to handle this case. This means that the ActiveModel::Errors object should know about the options given in *all* validators and break the extensibility added by the validators itself. If the intent is to whitelist options before sending them to I18n, each validator should clean its respective options instead of throwing the responsibility to the Errors object.
This reverts commit bc1c8d58ec.
moved rails binary to rails gem, so rubygems can find specific versions of rails [#4382 state:resolved]
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%