Returning multiple models or models with child rows in AWS


#1

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?