ruby-conventions
Installation
SKILL.md
Ruby Conventions
Service objects, strong params, behavior-focused tests.
Architecture
Service objects for business logic:
# app/services/user_registration_service.rb
class UserRegistrationService
def initialize(user_params:, mailer: UserMailer)
@user_params = user_params
@mailer = mailer
end
Related skills