On Apr 16, 8:26 pm, Pito Salas <[email protected]> wrote:

> I am getting  just one of the two or thee <li> items. Is there a
> better/cleaner/correct way of doing this? Thanks!
>
When used in this context, content_tag returns a string with
corresponding fragment of html. Your innermost calls to content_tag
aren't doing anything with that result whereas you probably want to be
concatenating them.

Fred

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