Advanced Database Programming with Rails and Postgres
Learn about subqueries, materialized views, and custom data types in Postgres and Rails. We walk through realistic real-life examples, translating first into SQL, and then into Rails code. Every example comes with source code to follow along.
In this book you will learn:
- Using Active Record and subqueries in Rails
- Using views and materialized views
- Creating custom Postgres data types (domain types and composite types)