After the upgrade, I got the same error on each active record model using enum.
Error Message:- ArgumentError (You tried to define an enum named “enum_key” on the model “Modal”, but this will generate a class method “reject”, which is already defined by ActiveRecord::Relation.
Please suggest the solution