Learn by Doing wrote: > Thanks, Sijo. That works. > > I would like to move this logic down to the model level but I can't > because the transaction involves different models. Any suggestions? > Thanks.
Create a non-AR model to handle the transaction dispatch. Sijo is quite right that this does not belong in the controller. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

