devise overriding registrations controller - uninitialized constant Users::RegistrationsController

后端 未结 6 1969
时光说笑
时光说笑 2021-01-04 04:34

I\'m trying to override some the functionality of the default devise registrations controller so that only certain users can create accounts for others. So in a file called

6条回答
  •  梦谈多话
    2021-01-04 05:03

    Hi I just recently added first name and last name to my registration. I am using Rails 4.

    I used the following instructions/tutorial to get this done:

    http://www.jacopretorius.net/2014/03/adding-custom-fields-to-your-devise-user-model-in-rails-4.html.

    :)

提交回复
热议问题