futura PRO said over 2 years ago on Materialized Views in PostgreSQL :
Thanks for this one! Way back in the day, pre-Rails, I used mySQL views to simplify queries in my PHP apps, and they were really handy. I was disappointed that Rails didn't seem to make room for them. I wasn't aware of this gem, but it seems well done. Especially nice that it can use materialized views for the performance benefit.