Unsurprisingly Rubocop can't figure out that rails-template is targeting v7.1 since we don't have a explicitly dependency on Rails in our Gemfile - this means it doesn't flag that we can now use Rails.env.local? in a couple of places, which is neat.
Also updated everything else and applied those other fixes.
Unsurprisingly Rubocop can't figure out that
rails-template
is targeting v7.1 since we don't have a explicitly dependency on Rails in our Gemfile - this means it doesn't flag that we can now useRails.env.local?
in a couple of places, which is neat.Also updated everything else and applied those other fixes.