You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Testing**: Uses Minitest with ActiveSupport::TestCase. Test files in `test/` directory.
25
+
26
+
**Linting**: Uses rubocop-rails-omakase (Omakase Ruby styling for Rails).
27
+
28
+
**Models**: Include concerns from `concerns/` directory. Use `validates_presence_of`, scopes, and lifecycle callbacks.
29
+
30
+
**Controllers**: Inherit from ApplicationController. Use `allow_unauthenticated_access` for public actions. Find records with `find_by_slug!` for posts.
31
+
32
+
**Naming**: Snake_case for methods/variables, CamelCase for classes. Use descriptive method names like `rendered_body` and `post_scope`.
33
+
34
+
**Structure**: Standard Rails MVC. Models in `app/models/`, controllers in `app/controllers/`, tests mirror app structure in `test/`.
0 commit comments