Use urlsafe_csrf_tokens to allow migrating from Rails 5.2.5+

This commit is contained in:
Sebastian Serth
2021-05-12 14:14:50 +02:00
parent 12a96ef0c4
commit 504bb07ae1
4 changed files with 49 additions and 37 deletions

View File

@ -25,7 +25,8 @@ gem 'prometheus_exporter'
gem 'pry-byebug'
gem 'puma'
gem 'pundit'
gem 'rails', '6.0.3.7'
# Switch to a newer 6.0 release while 6.0.3.7 is the newest version with the CSRF bug
gem 'rails', git: 'https://github.com/rails/rails', branch: '6-0-stable'
gem 'rails_admin'
gem 'rails-i18n'
gem 'rails-timeago'