Loading…
0+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes .
Rails API mode interview questions test whether you can build production-grade JSON APIs. This module covers ActionController::API vs ActionController::Base and what gets stripped, enabling CORS with rack-cors, the four serialization options and their trade-offs (Jbuilder: view templates, fast to write, slow to render at scale; Active Model Serializers: declarative, legacy; jsonapi-serializer: fastest, JSONAPI spec; Alba: fastest gem, modern), API versioning strategies (URL segment /api/v1, Accept header, query param — trade-offs for each), pagination with Kaminari vs Pagy vs cursor-based, rate limiting with Rack::Attack + Redis, OpenAPI documentation with Rswag, and RFC 7807 Problem+JSON for error responses.
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.