Closed anitagraham closed 1 month ago
Running with Rails 7.1.3 and testing an active storage route I have been getting
NoMethodError: undefined method `merge' for nil:NilClass # ./vendor/cache/ruby/3.2.0/gems/routing-filter-0.7.0/lib/routing_filter/adapters/routers/journey.rb:13:in `block in find_routes' # ./vendor/cache/ruby/3.2.0/gems/routing-filter-0.7.0/lib/routing_filter/adapters/routers/journey.rb:11:in `map' # ./vendor/cache/ruby/3.2.0/gems/routing-filter-0.7.0/lib/routing_filter/adapters/routers/journey.rb:11:in `find_routes'
Adding a default value of {} to parameters fixed this
This PR should be closed in favor of https://github.com/svenfuchs/routing-filter/pull/87
Running with Rails 7.1.3 and testing an active storage route I have been getting
Adding a default value of {} to parameters fixed this