Rails development know-how, technical tips, and the latest updates
Practical development techniques and best practices
「認証まわりだけは誰も触りたがらない」——既存プロダクトの改善相談で、こう打ち明けられることがよくあります。サービス立ち上げ当初に急いで実装したパスワード認証がそのまま本番で動き続け、権限管理は機能追加のたびに `if role == "admin" |...