RailsCasts
RailsCasts
Ryan Bates
#42 with_options
3 minutes Posted Jun 8, 2007 at 7:00 am.
0:00
3:55
Download MP3
Show notes
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.