mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
After https://github.com/rails/rails/pull/35281 and https://github.com/rails/rails/pull/35036 AV warns about not having the compiled container.
Use the suggested with_empty_template_cache to overcome warning
This commit is contained in:
parent
c5979e7bea
commit
bb8fe3701a
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ module RailsGuides
|
|||
puts "Generating #{guide} as #{output_file}"
|
||||
layout = @kindle ? "kindle/layout" : "layout"
|
||||
|
||||
view = ActionView::Base.with_view_paths(
|
||||
view = ActionView::Base.with_empty_template_cache.with_view_paths(
|
||||
[@source_dir],
|
||||
edge: @edge,
|
||||
version: @version,
|
||||
|
|
Loading…
Reference in a new issue