Am import to users, category and groups.
now I have imported to users and user group members and category, but how to relationship with category and groups. please help me any sample code.
I have imported group users sample code below.
user = User.where(email: emailuser).first
please help me how to category_groups relationship…
Thanks in advance,