We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d4885 commit 198f6cfCopy full SHA for 198f6cf
1 file changed
spec/example_app/config/application.rb
@@ -14,6 +14,7 @@
14
15
module AdministratePrototype
16
class Application < Rails::Application
17
+ config.load_defaults "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"
18
config.i18n.enforce_available_locales = true
19
20
config.generators do |generate|
@@ -27,9 +28,9 @@ class Application < Rails::Application
27
28
end
29
30
config.action_controller.action_on_unpermitted_parameters = :raise
- config.active_record.time_zone_aware_types = %i[datetime time]
31
- config.active_support.to_time_preserves_timezone = :zone
32
- config.action_view.form_with_generates_ids = true
+ if Rails.gem_version < Gem::Version.new("7.0")
+ config.active_support.to_time_preserves_timezone = :zone
33
+ end
34
35
# Opt-out of FLoC: https://amifloced.org/
36
config.action_dispatch
0 commit comments