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_view
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
..
helpers Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
locale Add possibility to use i18n translatios in submit FormHelper. 2010-01-14 01:07:03 +01:00
railties Rename Rails::Subscriber to Rails::LogSubscriber 2010-02-16 22:36:15 +01:00
render Solved a problem that prevented render :file => work in layouts 2010-03-05 08:52:10 -08:00
template Actually, revert previous commit. Having a lot of information is better than having no information at all. 2010-03-05 15:49:36 +01:00
base.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
context.rb replace _render_*_from_controller with render_* as they are intended to be public 2009-08-06 19:43:28 -03:00
helpers.rb Expose CSRF tag for UJS adapters 2010-02-04 14:58:32 -08:00
paths.rb Improve missing template error messages a little bit. 2010-01-31 10:24:38 +01:00
railtie.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
template.rb Fix t('.helper'). 2010-01-26 20:43:35 +01:00
test_case.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00