Jigar Bhatt
Jigar Bhatt

Reputation: 4650

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])

enter image description here

Note: This code was working fine in the rails 4 but not working in the rails 7

Upvotes: 0

Views: 56

Answers (0)

Related Questions