Relative Content

Tag Archive for rubyauditruby-on-rails-7ransack

Ransack is not working after updated from rails4 to rails7

Polymorphic associations do not support computing the class. I am using rails 7.0.8.4, gem ‘ransack’ and ruby “3.1.6” Following code generate an error @q = Audited::Audit.ransack(params[:q]) Note: This code was working fine in the rails 4 but not working in the rails 7 ruby audit ruby-on-rails-7 ransack