platanus / potassium

A Rails application generator by Platanus, inspired by Suspenders
MIT License
232 stars 17 forks source link

Ask for ActiveAdmin before asking for Devise on create #393

Open jgmontoya opened 2 years ago

jgmontoya commented 2 years ago

Upon creation, the CLI prompts before for Devise with the following:

Do you want to use Devise for authentication? (required for ActiveAdmin):

Then, after asking wether a user model for devise should be created it asks for ActiveAdmin:

Do you want to use ActiveAdmin?:

I think it should ask about ActiveAdmin first, and then only ask about Devise if AA is not included.

It was my understanding that Potassium already tries to do this. Is there a reason for this case being different?