Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Add dependencies removal for the user entity#193

Open
simonx1 wants to merge 2 commits into
rbCAS:masterfrom
simonx1:add-dependencies-removal-for-user
Open

Add dependencies removal for the user entity#193
simonx1 wants to merge 2 commits into
rbCAS:masterfrom
simonx1:add-dependencies-removal-for-user

Conversation

@simonx1

@simonx1 simonx1 commented Jan 12, 2018

Copy link
Copy Markdown

When user is removed lots of "trash" stays in the DB.
IMHO it would be best just to add dependent: :destroy for user's has_many associations.

@coveralls

coveralls commented Jan 12, 2018

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 97.201% when pulling 3ed59e5 on simonx1:add-dependencies-removal-for-user into ff29323 on rbCAS:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants