diff options
| author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-08-24 16:01:55 -0700 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-08-24 16:01:55 -0700 |
| commit | 804f5b3c2af90b69a51209c56739a077f3fb632b (patch) | |
| tree | 775ba004ce2f11288490e6843b0d0d6859129728 /activemodel/lib/active_model/validations | |
| parent | c104940363ee616c3ea9e0eeb085e39740211fdf (diff) | |
| download | rails-804f5b3c2af90b69a51209c56739a077f3fb632b.tar.gz rails-804f5b3c2af90b69a51209c56739a077f3fb632b.tar.bz2 rails-804f5b3c2af90b69a51209c56739a077f3fb632b.zip | |
kick different instrumentation method
We can eliminate a conditional by calling a different instrumentation
method depending on the situation. In this case, we'll call the special
case "!render_template" instrumentation method and eliminate the case /
when clause from the `instrument` method.
Diffstat (limited to 'activemodel/lib/active_model/validations')
0 files changed, 0 insertions, 0 deletions
