I am upgrading a working application from Rails 6 to Rails 7, as a consequence I am also upgrading Rails Admin to version 3.1.1 and PaperTrail to version 14.0.0.
In the Rails Admin interface the history view of tracked models now displays the error:
undefined method `per_page_kaminari'
However it looks the problem is at line 149 of rails_admin
rails_admin/extensions/paper_trail/auditing_adapter.rb
where the versions object does not seem to support anymore pagination. Commenting that line everything works, except not paginated.
Any idea?
Thanks a lot!