rails-action-controller-patterns
Installation
SKILL.md
Rails Action Controller Patterns
Master Action Controller patterns for building robust Rails controllers with proper routing, filters, parameter handling, and RESTful design.
Overview
Action Controller is the component that handles web requests in Rails. It processes incoming requests, interacts with models, and renders responses. Controllers follow the MVC pattern and implement REST conventions by default.
Installation and Setup
Generating Controllers
# Generate a resource controller
rails generate controller Posts index show new create edit update destroy