diff options
| author | Eloy Duran <eloy.de.enige@gmail.com> | 2010-01-02 00:49:49 +0100 |
|---|---|---|
| committer | Eloy Duran <eloy.de.enige@gmail.com> | 2010-01-07 13:19:48 +0100 |
| commit | f866ced24ac9cdece7801f50ec79cdbe3ff5ad59 (patch) | |
| tree | 1f7c3976acf9c3df6921d1eff44c932bba42bbd6 /activemodel/lib/active_model/validations.rb | |
| parent | 2171e0a1d13a176db1e9e9dd55242fdb319b526c (diff) | |
| download | rails-f866ced24ac9cdece7801f50ec79cdbe3ff5ad59.tar.gz rails-f866ced24ac9cdece7801f50ec79cdbe3ff5ad59.tar.bz2 rails-f866ced24ac9cdece7801f50ec79cdbe3ff5ad59.zip | |
Don't use strings for callbacks, as these will be evaled. Rather use symbols, which uses a direct method dispatch.
Patch by Comron Sattari. [#3429 state:resolved]
Diffstat (limited to 'activemodel/lib/active_model/validations.rb')
0 files changed, 0 insertions, 0 deletions
