Maybe I'm misunderstanding you.  Your talking about putting a helper in a
view, right?

So

<%= my_helper %>

would be the code?

On Fri, Jan 15, 2010 at 9:25 AM, Marnen Laibow-Koser
<li...@ruby-forum.com>wrote:

> [Please quote when replying.  This is a mailing list, not just a Web
> forum.]
>
> James Englert wrote:
> > Well yes...  That's not really quite the same though...
> >
> > On Fri, Jan 15, 2010 at 9:14 AM, Marnen Laibow-Koser
>
> Where do you see the difference?  You were asking about a block of Ruby
> code that is executed each time the view is rendered.  That is *exactly*
> what a helper is.
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> mar...@marnen.org
> --
> 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-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>
--
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-t...@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.

Reply via email to