Removing Duplication Using with_options

March 09, 2026

Track your progress

Sign in to track your progress and access subscription-only lessons.

Log In

Your Teacher

Collin Jilbert

Ruby on Rails Developer | Lover of Music | Skateboarder | Proud Papa | Co-editor @therubyradar | Launched @fleur_de_ruby

About This Episode

Learn how to use Rails' with_options to DRY up duplicated options across method calls and associations, including how to nest them for shared defaults.

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.