Sha256: d5caf1f0fc7f8f96dd1fd66ec7abe63bf916efde5a015fa1baa9283b06927787

Contents?: true

Size: 800 Bytes

Versions: 7

Compression:

Stored size: 800 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 Rails 5.0 release notes for more info on each option.

# Enable per-form CSRF tokens. Previous versions had false.
Rails.application.config.action_controller.per_form_csrf_tokens = true

# Enable origin-checking CSRF mitigation. Previous versions had false.
Rails.application.config.action_controller.forgery_protection_origin_check = true

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

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

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
rails-latex-2.3.4 examples/rails-latex-demo/config/initializers/new_framework_defaults.rb
workarea-shipping_estimation-1.1.3 test/dummy/config/initializers/new_framework_defaults.rb
rails-latex-2.3.3 examples/rails-latex-demo/config/initializers/new_framework_defaults.rb
workarea-shipping_estimation-1.1.2 test/dummy/config/initializers/new_framework_defaults.rb
rails-latex-2.3.2 examples/rails-latex-demo/config/initializers/new_framework_defaults.rb
dry-system-rails-0.1.0 spec/dummy/config/initializers/new_framework_defaults.rb
rails-latex-2.3.0 examples/rails-latex-demo/config/initializers/new_framework_defaults.rb