On 11 July 2011 08:36, Rodrigo Ruiz <[email protected]> wrote:
> I'd like to know where exactly are helpers available by default?
> For example, if I have a PagesController, will my PagesHelper methods be
> available at PagesController? or just at the Pages's views?

In addition to other replies note that logic in controllers should
rarely be sufficiently complex so as to require helpers.  Such code
should almost always be in the models.

Colin

-- 
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.

Reply via email to