Created
December 26, 2013 13:27
-
-
Save tacettin/8133823 to your computer and use it in GitHub Desktop.
protected_attributes
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
It is because in rails-4, ActiveModel::MassAssignmentSecurity has been taken out of ActiveModel. But devise uses attr_accessible, hence to use that, just add the following gem in ur Gemfile and try to load once again. | |
gem 'protected_attributes' | |
EDIT: | |
Now devise is supporting for rails-4. Include this in your Gemfile. | |
gem 'devise', '3.0.0.rc' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment