awesome-rails-with-postgres
A curated collection of gems and books for building and optimizing Rails apps with Postgres
https://github.com/ayarotsky/awesome-rails-with-postgres
Last synced: 21 days ago
JSON representation
Books
Tools
Gems
Attributes Management
- Measured
- awesome_nested_set - to-use gem for storing hierarchical data in ActiveRecord
- store_model
- ranked-model
- store_attribute
- acts-as-taggable-on
- Ancestry
- Closure Tree
Bulk Operations
Caching and Indexing
Database Integrity and Data Consistency
Database Structure and Schema Management
- Scenic
- fx
- ActiveRecord Postgres Enum
- Strong Migrations
- Online Migrations
- pg_ha_migrations
- The Schema Is
- annotaterb
- ActiveRecord PostGIS Adapter
- rgeo
- ActiveRecord TypedStore
Data Management
Full-text Search
- pg_search - text search with Postgres for Rails applications
- textacular - text and trigram search
Multi-Tenancy
- acts_as_tenant - tenancy support for Rails applications, simplifying tenant scoping
- Apartment - tenancy through PostgreSQL schemas with tenant switching and isolation
Performance Optimization
- Alba
- N+1 Control
- bullet
- prosopite
- Columns Trace
- Goldiloader
- Fast Count
- occams-record - 5x faster queries, reduced memory usage, and enhanced SQL features
- postgresql_cursor
- Rails PG Extras
- ActiveRecord Analyze
- Passive Columns
- geared_pagination - focused pagination for large datasets
- pagy
- Isolator - atomic interactions within DB transactions
Postgres-backed Job Queues
- GoodJob - based Active Job backend using LISTEN/NOTIFY
- Que - performance job queue using PostgreSQL advisory locks
- Solid Queue - backed Active Job backend, the default in Rails 8
Query Enhancement
- Hightop
- Groupdate - based queries without the pain
- Rollup
- Neighbor - neighbor search, ActiveRecord style
- ActiveRecordExtended
- ActiveMedian