Hi, Can you tell me how to do it for below tables? I have 2 tables. 1. products 2. coupon_codes
Now, i want to add include products and exclude products in create coupon code page so i need HABTM relationship table with above 2 tables.
How can i do it?
Hi,
Can you tell me how to do it for below tables? I have 2 tables.
1. products
2. coupon_codes
Now, i want to add include products and exclude products in create coupon code page so i need HABTM relationship table with above 2 tables.
How can i do it?