1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view
Sean Griffin 12cce89c89 Break up a circular require between AP/AV
Right now referencing the constant `AbstractController::Rendering`
causes `ActionView::Base` to be loaded, and thus the load hooks for
action_view are run. If that load hook references any part of action
view that then references action controller (such as
`ActionView::TestCase`), the constant `AbstractController::Rendering`
will attempt to be autoloaded and blow up.

With this change, `ActionView::LoadPaths` no longer requires
`ActionView::Base` (which it had no reason to require). There was a
needed class from `AbstractController::Base` in the Rendering module,
which I've moved into its own file so we don't need to load
all of `AbstractController::Base` there.

This commit fixes
https://github.com/rails/rails-controller-testing/issues/21
2016-03-11 14:42:47 -07:00
..
helpers - Freeze strings in frequent used private method 2016-03-08 22:53:23 +08:00
locale
renderer We're not using $2 from this Regexp 2016-03-05 05:38:37 +09:00
tasks Rename dependencies.rake to cache_digests.rake 2016-03-09 15:32:11 -08:00
template Support :any variants lookup in PathResolver 2016-03-01 01:04:26 -08:00
testing allow :file to be outside rails root, but anything else must be inside the rails view directory 2016-01-22 15:02:27 -08:00
base.rb Fix usage of word alternatively in docs [ci skip] 2015-10-06 23:20:27 +05:30
buffers.rb
context.rb
dependency_tracker.rb sort templates after looking them up in the from the paths cache 2016-02-10 15:44:27 -08:00
digestor.rb push partial name regexp up 2016-02-18 15:12:18 -08:00
flows.rb Use ActiveSupport::SafeBuffer when flushing content_for 2015-05-25 22:13:03 +10:00
gem_version.rb Prep release for Rails 5 beta3 2016-02-24 10:27:02 -05:00
helpers.rb
layouts.rb Improve readability of docs by using code tag [ci skip] 2015-09-29 14:44:17 +05:30
log_subscriber.rb Update to use Subscriber#start instead 2016-02-26 13:23:59 -05:00
lookup_context.rb Lock down new ImplicitRender behavior for 5.0 RC 2016-02-25 01:19:49 -08:00
model_naming.rb
path_set.rb allow :file to be outside rails root, but anything else must be inside the rails view directory 2016-01-22 15:02:27 -08:00
railtie.rb Rename dependencies.rake to cache_digests.rake 2016-03-09 15:32:11 -08:00
record_identifier.rb do not use div_for in example [ci skip] 2015-12-22 14:36:24 +09:00
rendering.rb Remove ActionView dependence on ActionPack's Mime implementation 2016-01-17 12:20:52 -05:00
routing_url_for.rb Merge pull request #21894 from abhishekjain16/refactor_with_dry 2015-10-08 14:16:46 -03:00
template.rb Make collection caching explicit. 2016-02-20 16:54:32 +01:00
test_case.rb TestController#parameters returns AC::Parameters 2015-12-29 14:40:17 -06:00
version.rb
view_paths.rb Break up a circular require between AP/AV 2016-03-11 14:42:47 -07:00