Proposal include referential integrity in models and behaviors

stonefield edited this page Sep 13, 2010 · 1 revision

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.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.