1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Rafael Mendonça França 7b50d7f249 We need an explicit return
If we don't return early Ruby will memoize the value of the prefix of
the parent class what will make the subsequent searchs to not work as
expected.

If the early return we are avoiding the memoization.

But when using the deprecated path we need to memoize the value, so we
are not using early return for the deprecated path.
2014-05-14 14:28:54 -03:00
..
action_view We need an explicit return 2014-05-14 14:28:54 -03:00
action_view.rb just require the template resolver 2014-01-31 12:05:50 -08:00