RailsApps / rails_apps_composer

A gem with recipes to create Rails application templates for Rails starter apps.
http://railsapps.github.io/rails_apps_composer/
1.42k stars 306 forks source link

Devise generator creates failing migration in Rails 4.1.0.rc1 #282

Closed DanielKehoe closed 10 years ago

DanielKehoe commented 10 years ago

In a new Rails 4.1.0.rc1 application, after I run rails generate devise User, among other files, I get:

db/migrate/20140219182839_devise_create_users

Note there is no .rb extension. Running rake db:migrate fails to apply the migration.

In a Rails 4.0.2 application, after I run rails generate devise User, among other files, I get:

db/migrate/20140219182839_devise_create_users.rb

which works fine.

See issue: https://github.com/plataformatec/devise/issues/2874

As a workaround pending the next release of the Devise gem, use Devise master:

gem 'devise', github: 'plataformatec/devise'
neilp666 commented 10 years ago

hi i get this on rails 4.0.4