31 Jan 2013, 16:33
_mg_2366_pragsmall

John M Athayde (39 posts)

Across the board, Devise changed between 2.0 and 2.1 so that things that were methods are now in migrations. The fix, while frustrating, is simple:

Change gemfile from

@gem ‘devise’@

to

@gem ‘devise’, ‘< 2.1’@

And that should give you Devise 2.0.5, which allows migrations to run clean. To verify this, you can

@rake db:drop@ @rake db:create@ @rake db:migrate@ @rake db:seed@

(or @rake db:reset@, but I like to do each step to ensure no faiilures)

ALSO, there are issues with Paperclip. Please change that line to

gem “paperclip”, “~> 2.7”

to get Seeds to work.

  You must be logged in to comment