Loading…
0+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes .
Action Controller interview questions cover the layer Rails engineers spend most of their time in. This module covers before_action/after_action/around_action execution order and skip_before_action, strong parameters (params.require.permit) and why they exist as the Rails 4+ replacement for attr_accessible, sessions (cookie-based default vs server-side) and the security implications of each, cookies with Secure/HttpOnly/SameSite flags, flash messages and flash.now, respond_to format blocks for JSON vs HTML, render vs redirect_to and when each is correct, rescue_from for centralized error handling, ActionController::Live for SSE streaming, and concerns for shared controller logic. Each answer names the Rails convention and the escape hatch.
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–0 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–0 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q0.