Gig_gift
(Gig_gift)
September 11, 2008, 3:35pm
1
I do not seem to understad what this error is about. Some body help.
wrong number of arguments (1 for 2)
RAILS_ROOT: C:/INSTAN~1/rails_apps/project/config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/user_controller.rb:10:in `authenticate'
#{RAILS_ROOT}/app/controllers/user_controller.rb:10:in `process_login'
11175
(-- --)
September 11, 2008, 4:02pm
2
Gilbert Gift Siima wrote:
I do not seem to understad what this error is about. Some body help.
wrong number of arguments (1 for 2)
RAILS_ROOT: C:/INSTAN~1/rails_apps/project/config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/user_controller.rb:10:in `authenticate'
#{RAILS_ROOT}/app/controllers/user_controller.rb:10:in `process_login'
Hi Gilbert,
It means that the method (authenticate, maybe) is expecting two
arguments but you passed only one. Take a look at your user_controller
about line 10 and see what it looks like. Post the code if you need to.
Peace.