Rake migration aborted

Posted by user2537714 on Stack Overflow See other posts from Stack Overflow or by user2537714
Published on 2013-07-01T04:11:04Z Indexed on 2013/07/01 4:21 UTC
Read the original article Hit count: 219

I'm running Ruby 2.0.0 and I installed it correctly. Just loaded up a gem 'devise' and as I tried to migrate my database changes, it wouldn't work:

$ rake db:migrate rake aborted! attr_accessible is extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or add protected_attributes to your Gemfile to use old one.

Then, following another Stackoverflow post, they recommended installing Bundler. I did that successfully and got this:

$ bundle exec rake db:migrate rake aborted! attr_accessible is extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or add protected_attributes to your Gemfile to use old one.

Is anyone up to the challenge to help?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby