2 ms·
I don't see why you are thinking it's hard with rails, you just create a default scope in your model "not_deleted", and that's done. It will apply to all queri
by realusername 5y ago
I don't see why you are thinking it's hard with rails, you just create a default scope in your model "not_deleted", and that's done.
It will apply to all queries unless you specifically call " unscoped"