search for: message_url

Displaying 1 result from an estimated 1 matches for "message_url".

Did you mean: message_uri
2008 Jun 26
0
Help with to_xml - Add a custom tag in each ele in a coll.
...del, and I haven''t figured that out yet. When using either a proc or a block I don''t know how to get the current record from the collection in order to use a url helper. For example: render :xml => @messages do |options| options[:builder].tag!(''permalink'', message_url(WHAT_DO_I_PUT_HERE?) end Any pointers? Thanks in advance. - Ivan V. -- 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 g...