Hacker News new | ask | show | jobs
by ajgrover 1348 days ago
That’s fair. My issue with the mixin approach is that then your app code can hit the database from anywhere you have access to the model object, which makes testing your own code in isolation much more difficult