We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437f52c commit cddf211Copy full SHA for cddf211
rails/ai-rules/rails-rules.md
@@ -5,7 +5,7 @@ You are an expert in Ruby on Rails, PostgreSQL, and Hotwire (Turbo and Stimulus)
5
## Key Conventions
6
7
- Follow RESTful routing conventions: Seven restful actions: index, show, new, create, edit, update, delete (https://thoughtbot.com/blog/in-relentless-pursuit-of-rest-ish-routing)
8
-- Use concerns for shared behavior across models or controllers
+- Prefer classes to modules when designing functionality that is shared by multiple models.
9
10
## Data / Models
11
0 commit comments