Re: XML return type in HABTM queries

2008-09-10 Thread GTM
Ok ... don't do what I did - if you're passing data to an XML view, MAKE SURE it's in the form of an associative array. He'res the break down of my problem. In my controller, I did $result = $this->Post->Tag->Find. That of course gave me a $result that looked something like: Array ( ['Tag']

XML return type in HABTM queries

2008-09-10 Thread GTM
Has anyone run across a situation with XML HABTM query results where the XML differs from the std results?I have a Post, Tags scenerio. I'm using a RequestHandler setup so /post/index.xml returns: ... That's good. But when I do a $this->Post->Tags->Find I get: ... I didn't