Hello all,
We are converting our application so that user-generated content such as votes, photos, users, comments, etc are all disabled instead of deleted. This serves us better as administrators of the site as well as fits into a UI redesign coming later that will include undo functionality. The question I have is would it be better to place the active=true condition part of all my associations I already have in place (little work), or do I strip my associations down to barebones and build named_scopes for my "active" state, and any other states? The problem here is I would need to append nearly all calls to photo.votes, photo.comments, project.photos, project.votes, etc with .active (much more work).
Which is the better method in the long run? Thanks guys.