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


#1

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:instatus’
/app/models/page.rb:57:in published?' /app/models/behavior.rb:92:infind_page_by_url’
/lib/advanced_delegation.rb:10:in send' /lib/advanced_delegation.rb:10:infind_by_url’
/app/models/page.rb:72:in find_by_url' /app/controllers/site_controller.rb:29:infind_page’
/app/controllers/site_controller.rb:34:in show_uncached_page' /app/controllers/site_controller.rb:22:inshow_page’
/vendor/rails/actionpack/lib/action_controller/base.rb:941:in
send' /vendor/rails/actionpack/lib/action_controller/base.rb:941:inperform_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:inperform_action_without_rescue’
/usr/local/lib/ruby/1.8/benchmark.rb:293:in measure' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 69:inperform_action_without_rescue’
/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
perform_action' /vendor/rails/actionpack/lib/action_controller/base.rb:408:insend’
/vendor/rails/actionpack/lib/action_controller/base.rb:408:in
process_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:377:inprocess_without_session_management_support’
/vendor/rails/actionpack/lib/action_controller/
session_management.rb:117:in process' /vendor/rails/railties/lib/dispatcher.rb:38:indispatch’
/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:insynchronize’
/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:inprocess_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:inprocess_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:ininitialize’
/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:inrun’
/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:innew’
/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:inrun’
/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:inrun’
/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:inrun’
/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