You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle exec rails g two_factor_authentication MODEL
Does not seem to end the migtation in the .rb extension meaning that I had to add this manually before rake db:migrate would run the migration.
This is on Rails 4.1.5 and Devise 3.3.0
Not a huge issue I wouldn't suspect but you can replicate this in a new rails project by running the following commands:
rails new twofa
cd twofa
# Add 'devise' and 'two_factor_authentication' to Gemfile
bundle install
rails generate devise:install
rails generate devise User
rails g two_factor_authentication User
=>
➜ twofa bundle exec rails g two_factor_authentication User
insert app/models/user.rb
invoke active_record
create db/migrate/20140922160755_two_factor_authentication_add_to_users
The text was updated successfully, but these errors were encountered:
Hi there,
I noticed today that the command:
Does not seem to end the migtation in the .rb extension meaning that I had to add this manually before rake db:migrate would run the migration.
This is on Rails 4.1.5 and Devise 3.3.0
Not a huge issue I wouldn't suspect but you can replicate this in a new rails project by running the following commands:
=>
The text was updated successfully, but these errors were encountered: