Skip to content

Instantly share code, notes, and snippets.

@davidpaniz
Created December 22, 2014 21:19
Show Gist options
  • Save davidpaniz/6704768dcfb22a335ef5 to your computer and use it in GitHub Desktop.
Save davidpaniz/6704768dcfb22a335ef5 to your computer and use it in GitHub Desktop.
Usuario.where('login in (?)', ['a', 'b', 'c']).update_all( status: :bloqueado )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment