rails-postgres
Installation
SKILL.md
PostgreSQL in Rails
Comprehensive guide to using PostgreSQL's powerful features with Rails. Covers datatypes, queries, optimization, indexing, and advanced features for building robust, performant applications.
Quick Start
Enable extensions and create a table with PostgreSQL types:
class CreatePosts < ActiveRecord::Migration[7.1]
def change
enable_extension 'pgcrypto' unless extension_enabled?('pgcrypto')