Skip to content

Commit 2947e5b

Browse files
Merge pull request rails#49631 from zzak/bug_report_templates/cache_format_version
Set load_defaults to current Rails version in bug_report_templates
2 parents 2745366 + f522f99 commit 2947e5b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

guides/bug_report_templates/action_mailbox_gem.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
require "tmpdir"
1919

2020
class TestApp < Rails::Application
21+
config.load_defaults Rails::VERSION::STRING.to_f
22+
2123
config.root = __dir__
2224
config.hosts << "example.org"
2325
config.eager_load = false

guides/bug_report_templates/action_mailbox_main.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
require "tmpdir"
1818

1919
class TestApp < Rails::Application
20+
config.load_defaults Rails::VERSION::STRING.to_f
21+
2022
config.root = __dir__
2123
config.hosts << "example.org"
2224
config.eager_load = false

guides/bug_report_templates/active_storage_gem.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
require "tmpdir"
1818

1919
class TestApp < Rails::Application
20+
config.load_defaults Rails::VERSION::STRING.to_f
21+
2022
config.root = __dir__
2123
config.hosts << "example.org"
2224
config.eager_load = false

guides/bug_report_templates/active_storage_main.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
require "tmpdir"
1717

1818
class TestApp < Rails::Application
19+
config.load_defaults Rails::VERSION::STRING.to_f
20+
1921
config.root = __dir__
2022
config.hosts << "example.org"
2123
config.eager_load = false

0 commit comments

Comments
 (0)