Upgrade to Rails 7.1

This commit is contained in:
Jyri-Petteri Paloposki 2025-06-30 00:45:25 +03:00
parent 36b47125ef
commit 2eb54b1c3e
4 changed files with 4 additions and 5 deletions

View file

@ -3,7 +3,7 @@ source 'https://rubygems.org'
gem 'actionpack-xml_parser', '~> 2.0'
gem 'activemodel-serializers-xml', '~> 1.0.3'
gem 'rails', '~> 7.0'
gem 'rails', '~> 7.1'
gem 'font-awesome-sass', '~> 6.7.2'
gem 'jquery-rails', '~> 4.6'

View file

@ -439,7 +439,7 @@ DEPENDENCIES
pg (~> 1.5)
puma (~> 6.6)
rack-mini-profiler
rails (~> 7.0)
rails (~> 7.1)
rails-controller-testing
rails-dom-testing (~> 2.2.0)
rails_autolink

View file

@ -21,8 +21,7 @@ module Tracksapp
# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)
# config.autoload_paths += %W(#{config.root}/lib)
config.eager_load_paths += %W(#{config.root}/lib)
config.autoload_lib(ignore: %w(assets tasks))
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.

View file

@ -23,7 +23,7 @@ Rails.application.configure do
config.action_controller.perform_caching = false
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
config.action_dispatch.show_exceptions = :none
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false