Skip to content

Instantly share code, notes, and snippets.

@joncode
Created May 23, 2012 08:03
Show Gist options
  • Select an option

  • Save joncode/2773795 to your computer and use it in GitHub Desktop.

Select an option

Save joncode/2773795 to your computer and use it in GitHub Desktop.
update attribute without validation
use update_column
http://edgeapi.rubyonrails.org/classes/ActiveRecord/Persistence.html#method-i-update_column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment