Ayyanar Aswathaman
2008-Jun-17 08:02 UTC
How to call the rhtml file from the helper method?
Hi, Anyone knows how to call the rhtml file from the helper method? Thanks, Ayyanar. A -- 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 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 -~----------~----~----~----~------~----~------~--~---
On Jun 17, 3:02 am, Ayyanar Aswathaman <rails-mailing-l...@andreas- s.net> wrote:> Hi, > > Anyone knows how to call the rhtml file from the helper method? >In an MVC framework, it''s generally the other way around: contollers call models, then render views. Views can call helper methods as needed. Maybe you can explain why you''re trying to have a helper method call into an rhtml template? Jeff purpleworkshops.com softiesonrails.com> Thanks, > Ayyanar. A > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---