# (no subject)

**URL:** <https://www.ruby-forum.com/t/no-subject/148315>\
**Category:** Rails\
**Created:** [September 11, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/no-subject/148315 "2008-09-11T17:37:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilbertsavier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e495f1/32.png) [@gilbertsavier](https://www.ruby-forum.com/u/gilbertsavier)\
**Post date:** [September 11, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/no-subject/148315/1 "2008-09-11T17:37:34Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![gilbertsavier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e495f1/32.png) [@gilbertsavier](https://www.ruby-forum.com/u/gilbertsavier)\
**Post date:** [September 11, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/no-subject/148315/2 "2008-09-11T18:02:20Z")

</div>

Gilbert Gift S. 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.
