On rails 3, "category_ids=" setter method is already implement for has_many :through relationships, because I can do on the rails console
p.category_ids=[1,3] to update product categories, but when I check a checkbox doesn't update on DB. How could I solve it?
On rails 3, "category_ids=" setter method is already implement for has_many :through relationships, because I can do on the rails console
p.category_ids=[1,3] to update product categories, but when I check a checkbox doesn't update on DB. How could I solve it?
thanks!!