Forum: Ruby on Rails conditional value in xml node

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ee0293412faca21e4ebf3326ed9d5f8c?d=identicon&s=25 Kad Kerforn (kadoudal)
on 2007-05-11 19:19
in my rxml file , I wrote :

      xml.Person(:id => "u-", :name => @user.pseudo,
:email => @user.email_address,
      :full_name => full_name, :hops => "0", :imageURL =>

but when the full_name is empty I have a value  full_name="" in the
generated file which lead my ActionScript to display a label Name and no

I can modify my As , but is there any possibility to writing differently
my xml.Person ?


This topic is locked and can not be replied to.