how to make a devise model Permanently deleted user 创建于 2014年08月20日 07:33 Hello,I need to do this rails generate devise modelHow can I do this ?I tried tools > rails model but then I could not find a way to make a devise model.Roelof
1. Make sure that gem is installed. Gemfile must contain line
gem 'devise'
if gem is not intstalled execute command
bundle install
(Tools -> Bundler -> Install)
2. Run generator: Tools -> Run Rails Generator. Type 'devise'
That the way you can do rails generate devise:install.
What I m looking for is a way to do rails generate devise model User
Roelof
Tools -> Run Rails Generator. Type 'devise'. Enter. Then type name of your model 'User'