An honest look at whether adopting Webpacker is worth it in Rails versus sticking with the Sprockets asset pipeline.
Stimulus.js Tutorial: Listening to onScroll Events for a Sticky Table Header
Use a Stimulus.js controller to listen for scroll events and freeze a table header at the top of the viewport.
Stimulus.js Tutorial: How do I filter data in a list or table?
Filter a list or table of records in real time as the user types using a lightweight Stimulus.js controller.
Stimulus.js Tutorial: How Do I Remotely Update My Model from a checkbox?
Use Stimulus.js to send a PATCH request when a checkbox is toggled, updating a Rails model attribute without a page reload.
Stimulus.js Tutorial: How Do I Drag and Drop Items in a List?
Build drag-and-drop list reordering in Rails using a Stimulus.js controller and the HTML5 Drag and Drop API.
How Do I Authorize Only the Creator of a Post to Update or Delete it?
Add creator-only authorization to a Rails resource using a before_action to check the current user against the record owner.
How do you get Devise working with your Rails API?
Configure Devise for token-based authentication in a Rails API-only app, separating session auth from API responses.
3 Ways to Authenticate a Client on Your API
Compare three authentication strategies for Rails APIs: HTTP Basic Auth, API keys, and JWT tokens.
Rails apps past CRUD
Patterns and techniques for Rails apps that go beyond basic CRUD — service objects, state machines, and more.