You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the gem and successfully created the state machine for my model, I tested it in rails console and it works well, but my graphql existing code is now crashing with this error:
Rails couldn't find a valid model for Match association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.
if I comment out include AASM and the related aasm configuration everything works fine again
I added the gem and successfully created the state machine for my model, I tested it in rails console and it works well, but my graphql existing code is now crashing with this error:
Rails couldn't find a valid model for Match association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.
if I comment out
include AASM
and the related aasm configuration everything works fine againmatch.rb
user.rb
user_type.rb (graphql)
match_type.rb (graphql)
Query
The text was updated successfully, but these errors were encountered: