search for: attributecontrol

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

2006 Feb 14
0
Best practices for handling associations in ctrlrs/views
...is is the desired approach, I can see several ways to implement it. For example, the methods required to create a new attribute or delete an existing one would be called by AJAX. I could thus 1) implement the action methods on the ItemController object, or 2) implement the action methods on the AttributeController object. Similarly, the "view" logic for attributes associated with an item will be invoked for each attribute that belongs to an item. This logic could: 1) be written as a partial, and rendered inside of logic within the edit view for an item (render :partial) 2) be written as an...