Sha256: 3eab27219d9c629dbcce2f337db17909a2e78d3fde4f581786f1ebe5e759b870

Contents?: true

Size: 828 Bytes

Versions: 5

Compression:

Stored size: 828 Bytes

Contents

# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.0 upgrade.
#
# Read the Guide for Upgrading Ruby on Rails for more info on each option.

# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
# Previous versions had false.
ActiveSupport.to_time_preserves_timezone = true

# Require `belongs_to` associations by default. Previous versions had false.
Rails.application.config.active_record.belongs_to_required_by_default = true

# Do not halt callback chains when a callback returns false. Previous versions had true.
ActiveSupport.halt_callback_chains_on_return_false = false

# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
Rails.application.config.ssl_options = { hsts: { subdomains: true } }

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
rabl-0.14.3 fixtures/rails5_api/config/initializers/new_framework_defaults.rb
rabl-0.14.2 fixtures/rails5_api/config/initializers/new_framework_defaults.rb
sorbet-rails-0.3.0 spec/support/v5.0/config/initializers/new_framework_defaults.rb
rabl-0.14.1 fixtures/rails5_api/config/initializers/new_framework_defaults.rb
rabl-0.14.0 fixtures/rails5_api/config/initializers/new_framework_defaults.rb