Rails Lighttpd Error

Hi,

Ive installed an application on my textdrive account using capistrano
and following the instructions here http://nubyonrails.com/pages/shovel.

Im using the dry_scaffold rails engine for a certain page in my site.
When the lightpd server is restarted and i cccess this page it works
fine see production log output below:

Processing DepartmentsController#index (for 10.250.24.34 at 2006-11-17
10:25:09) [GET]
Session ID: 0439e0ebcc1917ed17fb7bf7d8930c13
Parameters: {“action”=>“index”, “controller”=>“savantis/departments”}
Rendering layoutfalsetemplateshared/componentaction…/shared/component
within layouts/admin
Rendering shared/component
Completed in 0.20472 (4 reqs/sec) | Rendering: 0.13625 (66%) | DB:
0.00127 (0%) | 200 OK
[http://www.savantis.textdriven.com/departments/index]

I then naviagte to any other page in the site.

I then naviagete back to my page which uses the dry scaffold engine i
get a “Application Error (Rails)” This is the output from the
production log:

Processing DepartmentsController#index (for 10.250.24.34 at 2006-11-17
10:25:25) [GET]
Session ID: 0439e0ebcc1917ed17fb7bf7d8930c13
Parameters: {“action”=>“index”, “controller”=>“savantis/departments”}

NameError (uninitialized constant Savantis::Department):
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/inflector.rb:161:in constantize’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/string/inflections.rb:59:in
constantize' /vendor/plugins/dry_scaffold/lib/dry_scaffold.rb:92:in model_map’
/vendor/plugins/dry_scaffold/app/controllers/dry_scaffold_controller.rb:180:in
list_component' /vendor/plugins/dry_scaffold/app/controllers/dry_scaffold_controller.rb:32:in list’
/vendor/plugins/dry_scaffold/app/controllers/dry_scaffold_controller.rb:27:in
index' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:941:in perform_action_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in perform_action_without_rescue’
/usr/local/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in perform_action_without_rescue’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:82:in
perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in process_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in
process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in process’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in process_request’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in each_cgi’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in process!’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in
`process!’
/users/home/savantis/sites/savantis/current/public/dispatch.fcgi:24

Can anyone help me as im new to the deployment side of things? I have
the same app running on another server just using apache and fcgi and it
works fine. The textdrive setup uses lighttpd with fcgi and uses apache
just to proxy to the lighttpd port.

I forgot to add that every other page works fine, just the page that
uses the dry scaffold engine is causing the problems.