Skip to content

Commit a04a757

Browse files
authored
Merge pull request rails#35582 from vipulnsward/kill-warning-from-guides
Fix warnings from Guides generation
2 parents 7ed1302 + bb8fe37 commit a04a757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/rails_guides/generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def generate_guide(guide, output_file)
150150
puts "Generating #{guide} as #{output_file}"
151151
layout = @kindle ? "kindle/layout" : "layout"
152152

153-
view = ActionView::Base.with_view_paths(
153+
view = ActionView::Base.with_empty_template_cache.with_view_paths(
154154
[@source_dir],
155155
edge: @edge,
156156
version: @version,

0 commit comments

Comments
 (0)