Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Caseworker < ActiveRecord::Base
- has_many :cases
- end
- class Case < ActiveRecord::Base
- belongs_to :caseworkers
- end
- Mysql2::Error: Cannot delete or update a parent row: a foreign key constraint fails
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement