Skip to content

Instantly share code, notes, and snippets.

@jeanbaptistebeck
Created February 27, 2016 09:26
Show Gist options
  • Save jeanbaptistebeck/b583466ee8d217ac8a46 to your computer and use it in GitHub Desktop.
Save jeanbaptistebeck/b583466ee8d217ac8a46 to your computer and use it in GitHub Desktop.
Active Record Update Columns
TargetUserStat.all.update_all(gender: nil, age: nil, pcs: nil, city_size: nil, salary: nil, segment_association: nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment