Skip to content

Help with undefined method `default_scoping?' for Class #5574

Answered by maricavor
maricavor asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I will answer by myself. Looks like Set is a reserved word in Rails, by changing Set class to WorkoutSet the error is gone!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maricavor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant