Hacker News new | ask | show | jobs
by toasterlovin 2935 days ago
> Although you could do a rather complicated SELECT's with ActiveRecord, sometimes, for particular queries, I prefer to create a database VIEW and then point the ActiveRecord model to it.

Database views + ActiveRecord are a super power.