Created
April 23, 2013 20:02
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model.attr_accessible :normally_inaccessible_attribute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment