- # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
- config.assets.allow_debugging = true
+ # Raise exceptions for disallowed deprecations.
+ config.active_support.disallowed_deprecation = :raise
+
+ # Tell Active Support which deprecation messages to disallow.
+ config.active_support.disallowed_deprecation_warnings = []
+
+ # Export translations automatically.
+ config.middleware.use I18n::JS::Middleware
+
+ # Raises error for missing translations.
+ config.i18n.raise_on_missing_translations = true
+
+ # Annotate rendered view with file names.
+ # config.action_view.annotate_rendered_view_with_filenames = true
+
+ # Raise error when a before_action's only/except options reference missing actions.
+ config.action_controller.raise_on_missing_callback_actions = true
+
+ # Use the test adapter for ActiveJob during testing.
+ config.active_job.queue_adapter = :test
+
+ # Allow FactoryBot to set primary key attributes
+ config.factory_bot.reject_primary_key_attributes = false