Acerca de
This skill provides a comprehensive framework for writing efficient, maintainable database code in Ruby on Rails applications. It covers everything from standard model structures and complex association patterns to advanced PostgreSQL-specific queries, JSONB handling, and safe migration practices. It is particularly useful for developers looking to eliminate N+1 queries, implement robust query objects, and maintain high performance in enterprise-grade Rails environments by providing standardized implementation patterns and performance-first guidance.