Proposal include referential integrity in models and behaviors

stonefield edited this page Sep 13, 2010 · 1 revision
Clone this wiki locally

Some more referential integrity should be implemented.

Example:

  • You can destroy a page, but the page_routes will still exist.

I think a full review of all relationships would help.
The ideal implementation is :dependent => :destroy. Keep constraint from user interface, but allow destruction programatically.