Hey guys! I'm working my way through the tutorial chapters and I keep running on this issue. Here is some output from the static schema loader:
__PACKAGE__->set_primary_key("user_id", "role_id"); __PACKAGE__->belongs_to("role_id", "MyApp::Schema::Result::Role", { id => "role_id" }); __PACKAGE__->belongs_to("user_id", "MyApp::Schema::Result::User", { id => "user_id" }); I keep having to manually change 'role_id' and 'user_id' to 'role' and 'user'. My data base is MySQL and I have the foreign keys setup in the UserRole table. Why is this happening? It happens for the BookAuthor as well, and it causes checksum mismatches due to my manual intervention:( Thanks, Greg
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/