Hmmm... The app is jaggedhills2.heroku.com, and access is now public.
I'd wonder if perhaps it could be some sort of ActiveRecord problem? I
think that Heroku uses 2.0.2 AR, with the newest release being 2.1.0.
Wish I could figure out how to update gems...

On Jun 2, 6:19 pm, justindz <[EMAIL PROTECTED]> wrote:
> I was getting this for a while, but sadly I can't remember what I did
> to resolve the problem.  Seeing as you're having the problem as
> Mongrel is loading, you might check any custom declarations in your
> environment files that might take arguments (even of the form "method
> argument, argument" that don't look as methody) to make sure you
> didn't omit anything there.  Also, on any files you've recently edited
> just double check the syntax to make sure you don't have like a
> before_filter or something that's short on an arg.
>
> Sorry.  Thems be all I gots.
>
> On Jun 2, 6:56 pm, Fat Lotus <[EMAIL PROTECTED]> wrote:
>
> > 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