23 Jul 04:14
undefined method `first' for :users:Symbol
From: amrita <amrita.pati@...>
Subject: undefined method `first' for :users:Symbol
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-23 02:17:49 GMT
Subject: undefined method `first' for :users:Symbol
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-23 02:17:49 GMT
Hello,
I am trying to move an existing fully functional Rails application
from my laptop (Running Leopard) to my Desktop (Running Debian). I
created a new Rails application on the Debian desktop and installed
the restful_authentication plugin. I also changed the routes.db file
to include maps for users and sessions. Now, when I try to start the
WeBrick server, I get the following error:
=> Booting WEBrick...
./script/../config/../vendor/rails/actionpack/lib/action_controller/
routing.rb:406:in `initialize_components': undefined method `first'
for :users:Symbol (NoMethodError)
from ./script/../config/../vendor/rails/actionpack/lib/
action_controller/routing.rb:340:in `initialize'
from ./script/../config/../vendor/rails/actionpack/lib/
action_controller/routing.rb:616:in `new'
from ./script/../config/../vendor/rails/actionpack/lib/
action_controller/routing.rb:616:in `connect'
from ./script/../config/../vendor/rails/actionpack/lib/
action_controller/routing.rb:645:in `named_route'
from ./script/../config/../vendor/rails/actionpack/lib/
action_controller/routing.rb:651:in `method_missing'
from ./script/../config/../config/routes.rb:3
from ./script/../config/../vendor/rails/actionpack/lib/
action_controller/routing.rb:625:in `draw'
from ./script/../config/../config/routes.rb:1
... 14 levels...
from ./script/../config/../vendor/rails/activesupport/lib/
(Continue reading)
RSS Feed