I have category and subcategory table and another table shop.
Each shop have many categories and categories have many subcategories.
The user belongs to one shop and how can i say in ability the user of this shop can edit the subcategories that belongs to the category of that shop.
I have a problem in using the dynamic select menu along with nested attributes. please help me . I have posted my question in http://stackoverflow.com/questions/17546917/how-to-include-both-dynamic-select-menu-and-nested-attributes-together-in-rails
I am using cancan for assigning roles to user.
I have category and subcategory table and another table shop.
Each shop have many categories and categories have many subcategories.
The user belongs to one shop and how can i say in ability the user of this shop can edit the subcategories that belongs to the category of that shop.