RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: session xActive Support x
with_options
Episode #42Jun 08, 200736 comments

with_options

Several methods in rails take a hash of options as the last argument. If you are passing the same options to several methods, you can remove this duplication by using with_options. Learn all about it in this episode. (3 minutes)