Skip to content

Conversation

@am1006
Copy link

@am1006 am1006 commented Jul 12, 2025

When running the install generator, an error will be raised:

$ bundle exec rails generate nopassword:install
   identical  app/controllers/email_authentications_controller.rb
       exist  app/views/email_authentication_mailer
   identical  app/views/email_authentication_mailer/notification_email.html.erb
   identical  app/views/email_authentication_mailer/notification_email.html.txt
       exist  app/views/email_authentications
   identical  app/views/email_authentications/edit.html.erb
   identical  app/views/email_authentications/new.html.erb
       route  resource :email_authentication
        rake  nopassword_engine:install:migrations
rake aborted!
Don't know how to build task 'nopassword_engine:install:migrations' (See the list of available tasks with `rake --tasks`)
Did you mean?  no_password_engine:install:migrations

(See full trace by running task with --trace)

Upon checking available rake tasks:

$ rake --tasks | grep _engine
rake no_password_engine:install:migrations          # Copy migrations from no_password_engine to application

We can identify this typo.

This commit fixes this typo - and addresses #2

When running the install generator, an error will be raised:

```bash
$ bundle exec rails generate nopassword:install
   identical  app/controllers/email_authentications_controller.rb
       exist  app/views/email_authentication_mailer
   identical  app/views/email_authentication_mailer/notification_email.html.erb
   identical  app/views/email_authentication_mailer/notification_email.html.txt
       exist  app/views/email_authentications
   identical  app/views/email_authentications/edit.html.erb
   identical  app/views/email_authentications/new.html.erb
       route  resource :email_authentication
        rake  nopassword_engine:install:migrations
rake aborted!
Don't know how to build task 'nopassword_engine:install:migrations' (See the list of available tasks with `rake --tasks`)
Did you mean?  no_password_engine:install:migrations

(See full trace by running task with --trace)
```



Upon checking available rake tasks:

```bash
$ rake --tasks | grep _engine
rake no_password_engine:install:migrations          # Copy migrations from no_password_engine to application
```

We can identify this typo. This commit fixes this typo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant