-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patterns in Ruby #71
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sections for each
Model
Responsibilities
An interface between the database and ORM
How to use
How not to use
Controller
Anti-patterns
View
Anti-patterns
Presenter
Anti-patterns
Query
.all
,.find_by
Anti-patterns
Serializer
Service
Job
Transformers
Translate one data format to another
Strategies
Provide concrete swappable business logic for different use-cases
Adapter
Take incoming interface and translate to another
View Component
Reusable View layer functionality and design
Policy
Enforces authorization and answers the questions:
Api
Schemas
Value
Form
The text was updated successfully, but these errors were encountered: