Just to be more precise on my issue, it seems to happen only on
"has_one" relationship.  The "has_many" works like it should.

Rémi Gagnon wrote:
> When I do a to_xml(with a block) on an association of a model I got a
> 
> Builder::XmlMarkup#to_ary should return Array
> 
.....
-- 
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