RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Rails tips: #with_options

One of ActiveSupport's useful methods, #with_options allows you to DRY out hashes passed to a collection of similar method calls - ideal for complicated has_many declarations. Read more on the Cookies HQ blog

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!