Skip to content

Instantly share code, notes, and snippets.

@djo
Created December 20, 2011 09:58
Show Gist options
  • Save djo/1501013 to your computer and use it in GitHub Desktop.
Save djo/1501013 to your computer and use it in GitHub Desktop.
Change mass-assignment protection strategy to black-list to allow updates of virtual attributes
# Change mass-assignment protection strategy to black-list to allow updates of virtual attributes
Delayed::Job.attr_protected nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment