diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 16:17:29 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 16:17:29 -0700 |
commit | 446b6855dc88715315ce1ea15c25d1e821f8e598 (patch) | |
tree | bac578f973b59bf983a58bc610b51d19b288c8d1 /ci | |
parent | 3b8395a8825962b7ddbcb43a24334e5a5994ffde (diff) | |
download | rails-446b6855dc88715315ce1ea15c25d1e821f8e598.tar.gz rails-446b6855dc88715315ce1ea15c25d1e821f8e598.tar.bz2 rails-446b6855dc88715315ce1ea15c25d1e821f8e598.zip |
remove useless code
If AV::Rendering is mixed in, then `rendered_format` will be calculated
based on the current `lookup_context`, but calling `_process_format`
will set the `rendered_format` back on to the same lookup context where
we got the information in the first place!
Instead of getting information from an object, then setting the same
information back on to that object, lets just do nothing instead!
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions