rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
329 stars 189 forks source link

Add dependencies removal for the user entity #193

Open simonx1 opened 6 years ago

simonx1 commented 6 years ago

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 commented 6 years ago

Coverage Status

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