AcademyRulesDevelopment

Rails 8 development guidelines

Development teams building Ruby on Rails applications who want their AI editor to follow standard Rails 8 conventions.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/rails-cursorrules-prompt-file.mdc -o .cursor/rules/rails.mdc
rails.mdc

Loading the file...

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

  1. 01Generate a resource with Rails generators
  2. 02Move complex logic into a service object
  3. 03Write Minitest tests for a controller

Questions about
Rails 8 development guidelines.

What is Rails 8 development guidelines used for?

Development teams building Ruby on Rails applications who want their AI editor to follow standard Rails 8 conventions. 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.

How do I install Rails 8 development guidelines?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/rails-cursorrules-prompt-file.mdc -o .cursor/rules/rails.mdc

Is Rails 8 development guidelines open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Rails 8 development guidelines safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.