Skip to content

Instantly share code, notes, and snippets.

@airspeed
Created November 6, 2015 10:03
Show Gist options
  • Save airspeed/d0ed5f08d351fe6fa2df to your computer and use it in GitHub Desktop.
Save airspeed/d0ed5f08d351fe6fa2df to your computer and use it in GitHub Desktop.
Product.first.tap{ | p | p.price = 15 }.save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment