Protect the foreign keys in your Rails models