recurring_select icon indicating copy to clipboard operation
recurring_select copied to clipboard

undefined method `add_default_name_and_id` since upgrading to Rails 8.0.3

Open barrywoolgar opened this issue 3 months ago • 1 comments

Because the changes in 4.0.0.rc1 still haven't been released (see #168) calls to add_default_name_and_id are now failing. This is discussed here: https://github.com/rails/rails/issues/55737

Since version 8.0.3 Rails has renamed the undocumented internal method add_default_name_and_id which 3.0.0 relies upon.

Forcing an upgrade to 4.0.0.rc1 should fix this in the short-term:

gem "recurring_select", "4.0.0.rc1"

This should avoid the need to roll back Rails to 8.0.2.1, but you should review the differences between 3.0.0 and this RC release before relying on it in production:

https://github.com/gregschmit/recurring_select/compare/v3.0.0...v4.0.0.rc1

barrywoolgar avatar Oct 13 '25 13:10 barrywoolgar

add_default_name_and_id has been reinstated in Rails 8.0.4 (but not 8.1.1)

barrywoolgar avatar Nov 03 '25 08:11 barrywoolgar