Hi! I am creating a application that does a lot of background processing. For this I am using a queue (starling in my case...) and several pollers that will get a message from the queue and execute some code corresponding do it.
The code that these pollers process looks a lot like some code in methods included in some of my rails application controllers. I wanted to DRY this a little bit, so I tried to use the controllers method. What I ended up doing is basically using an ActionController::Integration::Session, exactly like in the console or when doing tests. I wanted to know if that was absolutely wrong or if it was ok. I guess there are some consequences as well, but what are they? Thanks a lot for your help! -- 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 -~----------~----~----~----~------~----~------~--~---

