Sweet, so I totally missed perform_action method :)
Thanks :) On Jun 6, 3:01 pm, Frederick Cheung <frederick.che...@gmail.com> wrote: > On Jun 6, 12:17 pm, Vojto <zero0...@gmail.com> wrote: > > > I have a question. > > > "send(method, *arguments)" this calls action of a controller, right? > > not quite - (at least in the common) case, the method that gets called > is perform_action, which calls default_render if you have not called > render. > > Fred > > > > > But if there's no 'render' in action - how does it automatically call > > render and renders the template for the action? > > > Thanks a lot --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---