I was wondering how can I insert straight xml, ie
"<a>test</a>" inside
the builder syntax.
For example, i want to be able to do something like this
xml.A do
xml.B do
"<a>test</a>"
end
end
should give:
<A>
<B>
<a>
test
</a>
</B>
</A>
Anybody have a clue on this one?
--
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
-~----------~----~----~----~------~----~------~--~---