mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c1304098cc
* A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. |
||
---|---|---|
.. | ||
html-scanner | ||
active_model_helper_i18n_test.rb | ||
active_model_helper_test.rb | ||
ajax_test.rb | ||
asset_tag_helper_test.rb | ||
atom_feed_helper_test.rb | ||
body_parts_test.rb | ||
capture_helper_test.rb | ||
compiled_templates_test.rb | ||
date_helper_i18n_test.rb | ||
date_helper_test.rb | ||
erb_util_test.rb | ||
form_helper_test.rb | ||
form_options_helper_i18n_test.rb | ||
form_options_helper_test.rb | ||
form_tag_helper_test.rb | ||
javascript_helper_test.rb | ||
number_helper_i18n_test.rb | ||
number_helper_test.rb | ||
output_buffer_test.rb | ||
prototype_helper_test.rb | ||
raw_output_helper_test.rb | ||
record_tag_helper_test.rb | ||
render_test.rb | ||
safe_buffer_test.rb | ||
sanitize_helper_test.rb | ||
scriptaculous_helper_test.rb | ||
tag_helper_test.rb | ||
test_case_test.rb | ||
test_test.rb | ||
text_helper_test.rb | ||
translation_helper_test.rb | ||
url_helper_test.rb |