Tutorial on PostgreSQL Views as Tables usages
approval
If you’ve worked with PostgreSQL in other environments and your database tables have associated metadata based on their column values, you might be accustomed to creating views for those tables.\r\n\r\nActive Record doesn’t have out-of-the-box support for views. But with a small amount of work, it’s possible to back your AR classes with “updateable†views that emulate tables.