About
This skill provides expert guidance for Rails 7+ developers to write efficient, scalable, and safe database queries. It covers critical areas such as solving N+1 query problems through eager loading, implementing safe zero-downtime migrations, managing complex associations, and utilizing performance-oriented features like counter caches and batch processing. It is an essential resource for refactoring legacy code for performance or designing new database schemas intended for high-traffic production environments.