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
Hi
I am novice on rails and i am working on a grouping-social project .
the problem is that adding a user in a group with a certain membership-type, automatically adds 2 records, one is the default one and two is the specific type we want.
my grouping system has join request and pending requests that i want to use with groupify's membership type, I dont need records with nil membershiptype !!
Can you provide the gem without duplicate records ?
Sincerely Yours :D
am , valeh
The text was updated successfully, but these errors were encountered:
This is actually expected behavior that is documented in the Readme. Is it causing an actual problem for your application, or is just annoying to see (supposedly) unnecessary rows in the database?
It might help if you could describe in more detail how you are using Groupify to implement your use case. It sounds like you're using membership type to track the "status" of a group membership request, e.g. group.add(user, as: 'requested'). Is this correct?
Hi again ,
yes I read the Readme, as you said, it is causing an actual problem.
and the problem is exactly as you described , correct.
I do not want the rows with empty membership type to be created because of memory matters...
( by the way, I jumped in to the gem, and changed the group.rb and it is now a solved problem for me, but it might not be a bad idea to provide the ability: block the repetitive records if coder wanted to !! )
Thanks 4 ur attention
Hi
I am novice on rails and i am working on a grouping-social project .
the problem is that adding a user in a group with a certain membership-type, automatically adds 2 records, one is the default one and two is the specific type we want.
my grouping system has join request and pending requests that i want to use with groupify's membership type, I dont need records with nil membershiptype !!
Can you provide the gem without duplicate records ?
Sincerely Yours :D
am , valeh
The text was updated successfully, but these errors were encountered: