High Rails

Use service objects for complex operations

Rule Description

Service objects for multi-model operations. Single public method (call). Return Result/Response objects. Keep models focused on persistence.

Included in Rulesets

Rails Standards
52 rules • 1 standard
View
Code Review Standards
214 rules • 0 standards
View

Add This Rule

Sign in to add this rule to your workspace

Sign in with GitHub

Details

Severity
High
Category
Rails
Used in
2 rulesets