1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/middleware
wycats 39d6f9e112 Make many parts of Rails lazy. In order to facilitate this,
add lazy_load_hooks.rb, which allows us to declare code that
should be run at some later time. For instance, this allows
us to defer requiring ActiveRecord::Base at boot time purely
to apply configuration. Instead, we register a hook that should
apply configuration once ActiveRecord::Base is loaded.

With these changes, brings down total boot time of a
new app to 300ms in production and 400ms in dev.

TODO: rename base_hook
2010-03-07 06:24:30 -08:00
..
session Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
templates/rescues Prettier hash dump 2010-01-18 21:22:09 -06:00
callbacks.rb Revert behavior from a5684dfa3c and ensure after_initializer is executed after to_prepare callbacks. 2010-02-19 08:15:49 +01:00
cascade.rb AD::Cascade that supports X-Cascade 2009-12-26 13:28:06 -06:00
cookies.rb Accessing nonexistant cookies through the signed jar should not raise an 2010-01-17 21:31:06 -06:00
flash.rb Move Flash into middleware 2010-01-15 14:55:13 -06:00
head.rb Make HEAD method masquerade as GET so requests are routed correctly 2010-01-15 12:38:50 -06:00
params_parser.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
remote_ip.rb Move remote_ip to a middleware: 2010-03-03 21:24:00 -08:00
rescue.rb Beef up AD::Rescue to replace global exception handling lost in ApplicationController 2009-09-15 16:33:15 -05:00
show_exceptions.rb Make local_request? to returns true when facing ::1 IPv6 address [#3257 status:resolved] 2010-01-17 16:56:54 +01:00
stack.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
static.rb Move Rails::Static into ActionDispatch 2009-09-26 11:37:42 -05:00