Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Help: Exception caught
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dark Ambient  
View profile  
 More options Sep 12 2006, 2:20 pm
From: "Dark Ambient" <sambi...@gmail.com>
Date: Tue, 12 Sep 2006 12:20:25 -0600
Local: Tues, Sep 12 2006 2:20 pm
Subject: Re: [Rails] Re: Help: Exception caught
I think this might be my problem:
http://rails.techno-weenie.net/question/2006/8/29/argument-error-on-r...

On 9/12/06, Dark Ambient <sambi...@gmail.com> wrote:

> Sorry , for all the posts, but I am running it in the RadRails browser
> and getting a different error:

> NoMethodError
> undefined method `first' for :users:Symbol

> This error occured while loading the following files:
>    ./script/../config/../config/routes.rb

> C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_co ntroller/routing.rb:405:in
> `initialize_components'
> C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_co ntroller/routing.rb:339:in
> `initialize'
> C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_co ntroller/routing.rb:615:in
> `connect'
> C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_co ntroller/routing.rb:644:in
> `named_route'
> C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_co ntroller/routing.rb:650:in
> `method_missing'
> #{RAILS_ROOT}/config/routes.rb:7
> #{RAILS_ROOT}/config/routes.rb:1
> -e:4

> I keep looking at routes and nothing is standing out.

> Stuart

> On 9/12/06, Dark Ambient <sambi...@gmail.com> wrote:
> > I should add that it doesn't seem to matter what I put in the url in
> > terms of controller , it just spits out the same message. Even if I
> > type in a controller that doesn't exist.  The standard rails index
> > page does open if I just do a localhost:3000

> > Stuart

> > On 9/12/06, Dark Ambient <sambi...@gmail.com> wrote:
> > > If I had more to go on I'd gladly share it. The app is development ,
> > > basically the same trace I posted earlier from the exception is what I
> > > see in the log.
> > > It doesn't seem to matter though what controller / action I point it
> > > at, same thing.

> > > Stuart

> > > On 9/12/06, Bill Walton <bill.wal...@charter.net> wrote:

> > > > Hi Stuart,

> > > > Dark Ambient wrote:

> > > > > I'm running into an error and not sure where to even look.

> > > > > ArgumentError

> > > > > wrong number of arguments (2 for 1)

> > > > You haven't given us much to go on.  When does this happen?  What
> > > > application code is being executed?

> > > > Best regards,
> > > > Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.