Displaying 1 result from an estimated 1 matches for "search_product".
2006 Jul 24
8
Views in one controller reaching out to other controllers (best practices)
...39;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
functionality (e.g. ProductionsController#search)
Thoughts?
- Rabbit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/ec67...