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://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
-~----------~----~----~----~------~----~------~--~---