Custom Devise Controller

Hi Guys,
I was wondering if sb could help me.
I have the following problem:
-I want to create a complex form using railscast tutorial ( Well, to
this I need to update my controller(in this case the controller
to manipulate user).
But I’m using Devise gem and I don’t know how I could manipulate the
controller created by Devise. I know only how to manipulate Devise
views… ;/
Sb have the same problem or knows how can I manipulate Devise’s

Thx :smiley:

You can override the methods in the Devise controllers

Look at the Devise Wiki; especially the articles around customizing
the rendering after signup & signout. That should point you in the
right direction.

On Tue, Dec 20, 2011 at 2:04 PM, Bruno M. [email protected]

Sb have the same problem or knows howcanI manipulate Devise’s controller?
For more options, visit this group at

Greg A.

Hi Greg. I will take a look in this session.
Thx for the help:D

Hi Halisson,
Thx for the help.
Well, I found yesterday a solution for this problem.
My solution was to create a custom controller that inherits from
Devise::RegistrationsController. This controller override update and
methods doing whatever I want to do. :D.
If you do this solution you need to change your view from devise to view
from this new controller.


Maybe this link can help you.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs