Conditional value in xml node

in my rxml file , I wrote :

  xml.Person(:id => "u-"[email protected]_s, :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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs