Blog
Some articles are currently available only in Japanese.
- Should Business Logic Live in the Model or Be Split into a UseCase?
A comparison of Rich ActiveRecord Models and UseCase-centered design, starting from business entities, business verbs, and state changes in Rails.
- How to Think About Rails Retrieval Strategies: N+1, JOINs, and Application Memory
A guide to choosing between preload, eager_load, includes, and joins by separating N+1 queries, database-side JOIN cost, and Rails application-memory pressure.
- Secure Deployments from GitHub Actions to GCP — A Practical Guide to Workload Identity Federation
Key design points for deploying safely from GitHub Actions to GCP with Workload Identity Federation instead of long-lived credentials.