Hi,
I have attempted to install radiant on my server using mongrel. I have
it working fine using lighttpd on my development box, but as soon as i
attempt to run it using mongrel I get the following error:
NoMethodError (undefined method `find'' for Status:Class):
/app/models/page.rb:49:in `status''
/app/models/page.rb:57:in `published?''
/app/models/behavior.rb:92:in `find_page_by_url''
/lib/advanced_delegation.rb:10:in `send''
/lib/advanced_delegation.rb:10:in `find_by_url''
/app/models/page.rb:72:in `find_by_url''
/app/controllers/site_controller.rb:29:in `find_page''
/app/controllers/site_controller.rb:34:in `show_uncached_page''
/app/controllers/site_controller.rb:22:in `show_page''
/vendor/rails/actionpack/lib/action_controller/base.rb:941:in
`send''
/vendor/rails/actionpack/lib/action_controller/base.rb:941:in
`perform_action_without_filters''
/vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark''
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `perform_action_without_rescue''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
69:in `perform_action_without_rescue''
/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action''
/vendor/rails/actionpack/lib/action_controller/base.rb:408:in
`send''
/vendor/rails/actionpack/lib/action_controller/base.rb:408:in
`process_without_filters''
/vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support''
/vendor/rails/actionpack/lib/action_controller/
session_management.rb:117:in `process''
/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
rails.rb:84:in `process''
/usr/local/lib/ruby/1.8/sync.rb:229:in `synchronize''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
rails.rb:83:in `process''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
580:in `process_client''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
579:in `each''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
579:in `process_client''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
686:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
686:in `initialize''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
686:in `new''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
686:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
673:in `initialize''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
673:in `new''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:
673:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
configurator.rb:267:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
configurator.rb:266:in `each''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
configurator.rb:266:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/
mongrel_rails:127:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
command.rb:211:in `run''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/
mongrel_rails:231
/usr/local/bin/mongrel_rails:18:in `load''
/usr/local/bin/mongrel_rails:18
Has anyone been able to get this working using mongrel, and if so what
am I doing wrong? I have no problems with my other applications.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---