I''m building a RoR service using Facebook''s Thrift. Ideally, I would like one of my service methods to be able to call a controller method that does a render_to_string so I can return an HTML snippet from my service. Without a web Request object, is it possible to call a controller method? In understand I could use ERB directly to apply a template, but writing test code for my service would be better if I could use functional tests. Plus, it would be nice to use a more standard mechanism to render my snippets. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---