Forum: Ruby on Rails Returning multiple models or models with child rows in AWS

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris Boyce (Guest)
on 2006-04-27 02:17
(Received via mailing list)
I searched the archives, and couldn't seem to find a clear example of
what I was trying to do.  I'd like to return a model with all its child
rows, but using Foo.find(:all, :include => [:child1,:child2]) doesn't
return the child rows when using AWS (though it does when using the
console).  From what I've read, it looks like I need to do something
with a struct, but I can't seem to find an example.  Any ideas?
This topic is locked and can not be replied to.