On Jan 8, 2008 6:21 PM, Justin Ellison <[EMAIL PROTECTED]> wrote: > my $oa = $sku->object_attributes(query_args => ['attribute.atr_nm' => > $attributeName ], > )->[0];
If your relationship description was accurate, that object_attributes() method is a get_set_on_save method. By passing args to it, you're trying to set the list of object_attributes, which is not what you want. Try using the "find" method type instead: http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/Metadata/Relationship/OneToMany.pm#METHOD_MAP Alternately, it's not too hard to write your own method that simply makes the appropriate Manager call (incorporating any args passed to the method, etc.) -John ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object