Did you segregate the Devise controllers away from the ApplicationController?

What you're seeing is the collision between the Devise authenticate method and 
the LoginSystem (Radiant) authentication method.

You need to "vendor" Devise and change it's controllers to descend from 
ActinController:Base instead of ApplicationController.

W

Sent from my iPhone

On Oct 27, 2010, at 12:10 AM, Hugo Villero <li...@ruby-forum.com> wrote:

> Thank you very much for that post, I've been looking for that solution 
> to long time,  I already did all those changes and now 
> /custom_users/sign_up is working, I'm able to register, but the 
> /custom_users/sign_in doesn't work,  I'm getting this error:
> 
> ----------
> Processing SessionsController#create (for 127.0.0.1 at 2010-10-27 
> 01:07:50) [POST]
>  Parameters: {"commit"=>"Sign in", "custom_user"=>{"remember_me"=>"0", 
> "password"=>"calabaza", "email"=>"hvill...@gmail.com"}}
> 
> ArgumentError (wrong number of arguments (1 for 0)):
>  devise (1.0.8) [v] app/controllers/sessions_controller.rb:19:in 
> `authenticate'
>  devise (1.0.8) [v] app/controllers/sessions_controller.rb:19:in 
> `create'
>  warden (0.10.7) lib/warden/manager.rb:35:in `call'
>  warden (0.10.7) lib/warden/manager.rb:35:in `call'
>  warden (0.10.7) lib/warden/manager.rb:34:in `catch'
>  warden (0.10.7) lib/warden/manager.rb:34:in `call'
> 
> ---------
> 
> Do you have any idea about how to solve it? I will really appreciate any 
> idea about that
> 
> Thank you very much for that post
> 
> -- 
> Posted via http://www.ruby-forum.com/.

Reply via email to