> Table or relationship names can be used in the value of the "query" > parameter, but the with_objects and require_objects parameters only > accept foreign key and relationship names. I think the error you got > is because you put productlocs in your with_objects arg. Please test > and let me know if I'm wrong :)
Tested and proved. I suppose a suggestion for dullards such as myself would be to make the error message state which portion of the query hash is causing the problem, if such a thing is possible. I've rewritten this bit of code to work using relationship names, thank you very much. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object