Skip to content

Instantly share code, notes, and snippets.

@bobbywilson0
Created January 9, 2009 16:29
Show Gist options
  • Save bobbywilson0/45158 to your computer and use it in GitHub Desktop.
Save bobbywilson0/45158 to your computer and use it in GitHub Desktop.
@products = Product.find(:all)
@products.each do |product|
product.update_attributes(params[:shipping_method])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment