Forum: Radiant CMS NoMethodError (undefined method `find' for Status:Class):

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ryan L. (Guest)
on 2007-02-08 20:43
(Received via mailing list)
Hi,

I am attempting to install Radiant on Mongrel server, and receive 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 Radiant working using Mongrel?

Thanks!

Ryan
This topic is locked and can not be replied to.