diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-31 14:14:56 +0900 |
---|---|---|
committer | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-31 14:14:56 +0900 |
commit | 71a392c465e58113d35121f0fec300599624cc6b (patch) | |
tree | 8d827986dda014bc5a106783d02a6d45f0479444 /railties/lib/rails/application | |
parent | 1c383df324fdf0b68b3f54a649eb7d2a4f55bcb7 (diff) | |
download | rails-71a392c465e58113d35121f0fec300599624cc6b.tar.gz rails-71a392c465e58113d35121f0fec300599624cc6b.tar.bz2 rails-71a392c465e58113d35121f0fec300599624cc6b.zip |
Fix `RuntimeError: Unknown version "6.0"`
Diffstat (limited to 'railties/lib/rails/application')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index f02aef94e0..6743ab2a54 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -112,6 +112,9 @@ module Rails if respond_to?(:action_view) action_view.form_with_generates_ids = true end + when "6.0" + load_defaults "5.2" + else raise "Unknown version #{target_version.to_s.inspect}" end |