);\r
__PACKAGE__->many_to_many( objects => collection_object => "object" );\r
__PACKAGE__->many_to_many( pointy_objects => collection_object => "object",\r
- { where => { "type" => "pointy" } } \r
+ { where => { "object.type" => "pointy" } }\r
);\r
__PACKAGE__->many_to_many( round_objects => collection_object => "object",\r
- { where => { "type" => "round" } } \r
+ { where => { "object.type" => "round" } } \r
);\r
\r
1;\r