Displaying 1 result from an estimated 1 matches for "overblijf_tst".
2006 Mar 17
0
unit_tests and deleting from the database
I get errors when running rake test_units:
test_destroy(LocationTest):
ActiveRecord::StatementInvalid: Mysql::Error: #23000Cannot delete or
update a pa
rent row: a foreign key constraint fails (`overblijf_tst/groups`,
CONSTRAINT `fk
_groups_locations` FOREIGN KEY (`location_id`) REFERENCES `locations`
(`id`)): D
ELETE FROM locations
Any pointers??
--
Posted via http://www.ruby-forum.com/.