mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Upgrade to Rails 7.1
This commit is contained in:
parent
36b47125ef
commit
2eb54b1c3e
4 changed files with 4 additions and 5 deletions
2
Gemfile
2
Gemfile
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue