diff options
| author | Xavier Noria <fxn@hashref.com> | 2014-02-11 17:16:31 +0100 |
|---|---|---|
| committer | Xavier Noria <fxn@hashref.com> | 2014-02-11 17:18:19 +0100 |
| commit | e00ab2dab9671603dcc8ab571baf1b1df100f99b (patch) | |
| tree | be5676dfa6ea650f232833c638f4d970c0d7b9b2 /activemodel/lib/active_model/validator.rb | |
| parent | 4359bc6a7a6437899cca4ff7f719be8b29f0b6b3 (diff) | |
| download | rails-e00ab2dab9671603dcc8ab571baf1b1df100f99b.tar.gz rails-e00ab2dab9671603dcc8ab571baf1b1df100f99b.tar.bz2 rails-e00ab2dab9671603dcc8ab571baf1b1df100f99b.zip | |
Revert "Don't symbolize tainted data." [ci skip]
Reason: i18n whitelists now locales without passing through symbols,
see https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L278.
Therefore, this snippet is no longer a good practice.
This reverts commit ec0664a6eb8906fcd31a53a1efad69bdc7fe6f5b.
Diffstat (limited to 'activemodel/lib/active_model/validator.rb')
0 files changed, 0 insertions, 0 deletions
