Thanks for the feedback Robert.  I'm implementing that now for the 
numbers.

In case someone else follows this thread, the way to implement type with 
xml.builder is by doing the following:

You convert the old syntax:

xml.total_offense team.to_ydspgm

TO the new syntax

xml.total_offense(team.to_ydspgm, :type => "float")

I hope that helps.
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to