aboutsummaryrefslogtreecommitdiffstats
path: root/guides/.document
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-14 14:26:46 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-14 14:28:54 -0300
commit7b50d7f2496a84bec5aceb9e0fd1f1f9dcbdab88 (patch)
treed3f60f1267cfd8c47ac402953bc4a27665b1bdd9 /guides/.document
parent548cb1cf7b7a6590cab9cbe28f8677c30c9c6871 (diff)
downloadrails-7b50d7f2496a84bec5aceb9e0fd1f1f9dcbdab88.tar.gz
rails-7b50d7f2496a84bec5aceb9e0fd1f1f9dcbdab88.tar.bz2
rails-7b50d7f2496a84bec5aceb9e0fd1f1f9dcbdab88.zip
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.
Diffstat (limited to 'guides/.document')
0 files changed, 0 insertions, 0 deletions