aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/redirecting.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-08-16 15:13:57 +0100
committerJon Leighton <j@jonathanleighton.com>2011-08-16 16:40:38 +0100
commit4dd985ae9514fdb9688eab780d881decff8358fa (patch)
tree121f3141583ff829a3a63c95e51553fb6387efab /actionpack/lib/action_controller/metal/redirecting.rb
parent0d5a6f68dfb930816392f9711f0a6a52872bc72f (diff)
downloadrails-4dd985ae9514fdb9688eab780d881decff8358fa.tar.gz
rails-4dd985ae9514fdb9688eab780d881decff8358fa.tar.bz2
rails-4dd985ae9514fdb9688eab780d881decff8358fa.zip
Don't reference ActiveRecord::Base in initializers/wrap_parameters.rb. Use config.active_record instead. This yields about a 20% decrease in startup time because it means that the connection is not created immediately on startup. Of course, this is only useful if you are not going to immediately use the database after startup.
Diffstat (limited to 'actionpack/lib/action_controller/metal/redirecting.rb')
0 files changed, 0 insertions, 0 deletions