David Cook
2024-03-04 10:08:34 +11:00
parent 754295b4b4
commit 6a3e2c3dd2

@@ -2,6 +2,13 @@ Firstly, code conventions are enforced by Rubocop, in order to improve code cons
This pages lists additional conventions that are not verified by Rubocop, but we agree to follow.
# Ruby/Rails
Use existing code convention patterns where appropriate. Including:
## Queries
Please adhere to the naming convention when introducing new query-related services in the `app/queries` folder. This consistency will streamline code readability and maintain a clear understanding of the purpose of each service.
# Database Migrations
See this guide: [[Database-migrations]]
@@ -80,4 +87,4 @@ TODO: how to avoid this
##### Example 1
Using has_many declarations in serializers is one of the most common causes of N+1 queries in code.
TODO: how to avoid this
TODO: how to avoid this