#42 with_options

Published: June 8, 2007, 7 a.m.

b'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.'