I don't know if this reply will work, let me know if it does!  What sort of
custom fields?  If you had custom fields (e.g. date_of_birth), then it has
nothing to do with your controller, do you mean the model?


On 27 August 2013 20:16, BitGub <notifications@github.com> wrote:

> In config/routes.rb:
>
> > @@ -1,5 +1,5 @@
> >  YourDay::Application.routes.draw do
> > -  devise_for :users
> > +  devise_for :users, :controllers => {:registrations => "my_registrations"}
>
> This is done because I have custom fields for my sign up form and do not
> have direct access to the Devise::Registrations Controller, so following
> the documentation I created a custom that custom controller inheriting from
> the Devise controller and added my fields for validation, therefore I need
> to tell devise to use my custom controller instead of its default
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/BitGub/YourDay/pull/2/files#r6015206>
> .
>