I am outputting an RSS file.
In my feed.rxml
xml.description advert.description + image_tag
url_for_file_column(advert, "image","thumb") unless
url_for_file_column(advert, "image","thumb").nil?
I want to concatenate the advert.description + image_tag to show the
description and the image. I keep on getting a compile error.
How can I concatenate these two?
--
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---