authenticate is one of the class method in 'User' model for Radiant.
Make sure that you didn't modify the original source of the 'User'
model. Or else, you should check what extensions that you have
installed to check the possibility that it has overwrite this User
model.

On Mar 10, 2:26 pm, Dmitry Belitsky <dmitry.belit...@gmail.com> wrote:
> Hello, I can't login on the one of our site more.
> It show me application error when I try to log in.
> Please advice me what I can do to resolve this issue.
> Thanks a lot!
>
> Log file:
>
> Processing Admin::WelcomeController#login [POST]
>   Parameters: {"action"=>"login",
> "authenticity_token"=>"FWUgEe7WTxcXHD1xoLufxhhlWMXrOW0=",
> "controller"=>"admin/welcome", "user"=>{"password"=>"[FILTERED]",
> "login"=>"admin"}}
>
> NoMethodError (undefined method `authenticate' for #<Class:
> 0xb7708250>):
>   radiant (0.8.1) app/controllers/admin/welcome_controller.rb:13:in
> `login'
>   radiant (0.8.1) vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:
> 19:in `process'
>   thin (1.2.5) lib/thin/connection.rb:76:in `pre_process'
>   thin (1.2.5) lib/thin/connection.rb:74:in `catch'
>   thin (1.2.5) lib/thin/connection.rb:74:in `pre_process'
>   thin (1.2.5) lib/thin/connection.rb:57:in `process'
>   thin (1.2.5) lib/thin/connection.rb:42:in `receive_data'
>   eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
>   eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
>   thin (1.2.5) lib/thin/backends/base.rb:57:in `start'
>   thin (1.2.5) lib/thin/server.rb:156:in `start'
>   thin (1.2.5) lib/thin/controllers/controller.rb:80:in `start'
>   thin (1.2.5) lib/thin/runner.rb:177:in `send'
>   thin (1.2.5) lib/thin/runner.rb:177:in `run_command'
>   thin (1.2.5) lib/thin/runner.rb:143:in `run!'
>   thin (1.2.5) bin/thin:6
>   /usr/bin/thin:19:in `load'
>   /usr/bin/thin:19
>
> Rendering /radiant/public/500.html (500 Internal Server Error)

Reply via email to