The biggest change in Ruby 3 is how keyword parameters are distinct
from positional parameters. If we want to support 3 and pre-3, we
need to take a single hash as a positional parameter (option = {}). If
we use the **option syntax then things fail on the Ruby 3/Rails 6
combo because of how Rails calls our methods.
The biggest change in Ruby 3 is how keyword parameters are distinct from positional parameters. If we want to support 3 and pre-3, we need to take a single hash as a positional parameter (
option = {}
). If we use the**option
syntax then things fail on the Ruby 3/Rails 6 combo because of how Rails calls our methods.I also updated the Travis & Appraisal files. There is no need to support Rails pre-6 on Ruby 3, since Rails itself has no plans to support it.