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
Now when you try to do User.first.groups it will cash. Remove this gem and it all works fine.
Error I get:
Group.first.users
Group Load (0.5ms) SELECT "groups".* FROM "groups" ORDER BY "groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
Traceback (most recent call last):
ArgumentError (wrong number of arguments (given 3, expected 2))
The text was updated successfully, but these errors were encountered:
Issue
In any Rails 5 application if you create has many through relation then this gem causes it to break.
Reproduction
Just create a new Rails 5 or 6 app and add the following model with migrations.
Now when you try to do
User.first.groups
it will cash. Remove this gem and it all works fine.Error I get:
The text was updated successfully, but these errors were encountered: