Sorry, left out a detail.

Here's the full trace:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1708:in `hash'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1708:in `[]'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1708:in `subclasses'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1709:in `subclasses'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
inflector.rb:257:in `inject'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1709:in `each'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1709:in `inject'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:1709:in `subclasses'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
base.rb:366:in `reset_subclasses'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:158:in `cleanup_application'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
dispatcher.rb:178:in `send!'
[...]

None of it is actually inside my app. It goes all the way back to the
mongrel initializer...

On Jun 1, 1:41 pm, Kevin Triplett <[EMAIL PROTECTED]> wrote:
> Hi!
>
> The "login" method in your users_controller.rb file must be
> taking an argument? It's complaining that login is defined
> as taking one argument but it's being called without any
> arguments.
>
> If login is an action method (:action => 'login'), then
> there are no arguments passed to it. You can just refer to
> the params variable to get the data passed to your
> controller from the browser.
>
> Hope this helps, I may be way off base on what's REALLy
> causes the error. :)
>
> Kevin
>
> Fat Lotus wrote:
> > Hello all. I've just been having trouble with strange ArgumentErrors
> > popping up at the bottom of every response. This can be seen on the
> > app at jaggedhills2.heroku.com/users/test.
>
> > Here's what code is generated:
>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> >www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml";>
> > [ Normal page content ]
> > </html><html>
> > <head>
> >   <title>Action Controller: Exception caught</title>
>
> > [...]
>
> > <h1>
> >   ArgumentError
>
> >     in UsersController#login
>
> > </h1>
> > <pre>wrong number of arguments (0 for 1)</pre>
>
> > <p><code>RAILS_ROOT: /mnt/home/userapps/19146</code></p>
>
> > [...]
>
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in
> > `initialize'
> > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new'
> > /usr/lib/ruby/gems/1.8/gems/mongr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to