What it does
A Cursor rules file with short guidelines for Rails 8 projects. It favors Rails generators, RESTful controllers, service objects for complex logic, PostgreSQL with proper indexes, Hotwire for interactivity, Minitest coverage, and the Rails 8 defaults such as Solid Queue, Solid Cache and Kamal.
Use cases
- 01Generate a resource with Rails generators
- 02Move complex logic into a service object
- 03Write Minitest tests for a controller