Chris Williams
2007-Mar-31 12:02 UTC
[Cruisecontrolrb-users] build failing because of foreign keys
Hi, I''m trying to build my rails project but it keeps failing. All the tests pass from the work folder though when I run them from the command line. All the error messages in the build log center around foreign keys. Errors such as this: Message: ActiveRecord::StatementInvalid: Mysql::Error: Cannot delete or update a parent row: a foreign key constraint fails>From reading the manual, I imagine I need a custom ''cruise'' task inorder to get this to work, but I''m not sure what to put in it. Any help would be greatly appreciated. thanks, Chris