Answer the question
In order to leave comments, you need to log in
Rails divese gem do I need to create a model beforehand?
There is a command in the guide - rails generate devise MODEL
MODEL is generated with devise or in advance ?
Answer the question
In order to leave comments, you need to log in
You don't need to create the model yourself. You need to use devise'a generator.
To better understand this, understand the classes in Ruby, and then look at what is inherited from what during generation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question