search for: category_item

Displaying 1 result from an estimated 1 matches for "category_item".

Did you mean: category_items
2009 Apr 12
0
rails 2.3 nested forms with has_many through checkboxes
I was wondering if anyone knew of a way to combine the new nested forms in rails 2.3 with a has_many through relationship via checkboxes. Basically I have a page model, a page_category model and a category_items join table. Pages have many page categories through category items. The category_items table is polymorphic so i can use it for other models who need categories (maybe this is overcomplicating everything though?). In a page''s edit form I want to be able to dynamically add new category...