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

It's a pattern where a single object (the "active record") not only represents a single database row, but also usually is responsible for saving/inserting data into the database (via save method) and retrieving them (via find methods). Because of this it breaks SRP. If this is neglectable or not, I don't want to argue here. Personally, I would not use it anymore because of bad experience in the past.


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

Search: