search for: photo_path

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

Did you mean: photos_path
2007 May 11
0
conditional value in xml node
in my rxml file , I wrote : xml.Person(:id => "u-"+@user.id.to_s, :name => @user.pseudo, :email => @user.email_address, :full_name => full_name, :hops => "0", :imageURL => "#{photo_path(@user)}") 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 value I can modify my As , but is there any possibility to writing differently my xml.Person ? thanks kad -- Posted via http://...