aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/callbacks.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-09-06 13:31:28 +0200
committerXavier Noria <fxn@hashref.com>2012-09-06 13:39:23 +0200
commit3ee191fd95584dc984ee76486a932a54419156d2 (patch)
tree08107cf46e459c94fbe1b3dfa00974d326ef9aba /activesupport/lib/active_support/callbacks.rb
parent3c27dcc639a9380ff86c76ed6ed089a072d64df0 (diff)
downloadrails-3ee191fd95584dc984ee76486a932a54419156d2.tar.gz
rails-3ee191fd95584dc984ee76486a932a54419156d2.tar.bz2
rails-3ee191fd95584dc984ee76486a932a54419156d2.zip
no more const_missing combinatorics
Basically, const_missing had a loop to try parent namespaces if the constant lookup failed, but at the same time delegated to load_missing_constant which in turn also walks up parent namespaces calling const_missing by hand. In the case of missing constants this results in repeated work in some funky nested way.
Diffstat (limited to 'activesupport/lib/active_support/callbacks.rb')
0 files changed, 0 insertions, 0 deletions