search for: salescentercontrol

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

2006 Jul 24
8
Views in one controller reaching out to other controllers (best practices)
Hello all. For the purpose of my question, let''s imagine we''re building some search functionality. You''re a sales person (you poor sap). And you''re hanging out in the SalesCenterController. You need to do a search for available productions; you''ve decided to be cool and use Ajax. Do you... a) Make a remote call to an action in your current controller (e.g. SalesCenterController#search_productions) b) Make a remote call to a separate controller for the necessary search fu...