Skip to content

Instantly share code, notes, and snippets.

@johnkferguson
Created April 23, 2013 20:02
Show Gist options
  • Save johnkferguson/5446926 to your computer and use it in GitHub Desktop.
Save johnkferguson/5446926 to your computer and use it in GitHub Desktop.
To make it possible to assign an attribute in the seed file when it isn't specified as attr_accessible in the model.
Model.attr_accessible :normally_inaccessible_attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment