소개
The Rails Error Prevention skill serves as a preventative quality gate for Ruby on Rails development, specifically targeting frequent mistakes in ViewComponents, ActiveRecord queries, and controller actions. By implementing strict method exposure verification and template path validation before code is written, it helps developers avoid common 'undefined method' and 'template not found' errors. It provides structured implementation patterns for handling PostgreSQL grouping errors, N+1 queries, and nil-safety, ensuring enterprise-grade code quality and performance across complex Rails applications.