with_options is some nice syntax sugar in Rails. When a series of validations (in an ActiveRecord model) all share the same conditional or when a series of before_actions (in a controller) do, with_options is a nice grouping.
Recent articles
- Remember Clippy: Screen-aware voice AI in the browser - 12th February 2026
- Task Master: Voice-first todo list that updates live as you talk - 27th December 2025
- Setting up Android phone to work with Apple Watch and iMessage - 11th June 2025