RailsCasts
Ryan Bates
Add to My Podcasts
Episodes
About
Reviews
Promote
#42 with_options
3 minutes
Posted Jun 8, 2007 at 7:00 am.
0:00
3:55
Add to My Queue
Download
MP3
Share
episode
Share at current time
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.
Watch Video
Previous
#41 Conditional Validations
Next
#43 AJAX with RJS
← See all 346 episodes of RailsCasts