Re: [Rails] Helper or ???
On 26 January 2012 15:03, Colin Law <clanlaw@googlemail.com> wrote:
> Michael: I don't think that addresses the problem, unless I
> misunderstand. The OP doesn't need the method available in the
> controller *and* the view, he is just not sure about which it should
> be.
True... depending on where it's wanted will affect whether it should
be a helper, helper_method or before_filter ;-)
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home