Create auto-updating materialized views with ActiveRecord::Migration and Postgres