Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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"



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: