Mongrel or Radiant?

Seems like this might be a problem with Mongrel over Radiant. Figured
I’d ask here first seeing as how I found the problem trying to get
started with Radiant 0.5.2.

The problem is that when I try to create a new homepage from a clean
Radiant 0.5.2 install when I’m running mongrel I get:

NoMethodError in Admin/page#new

Showing app/views/admin/page/new.rhtml where line #132 raised:
undefined method `find_all’ for Status:Class

Extracted source (around line #132): 129:

Behavior
130: <%= select “page”, “behavior_id”, [[’’, ‘’]] +
Behavior.find_all.map { |s| s.registered_id } %>


131:

Status
132: <%= select “page”, “status_id”, Status.find_all.map { |s|
[s.name, s.id] } %>


133:
134:  
135: <%= updated_stamp @page %>

RAILS_ROOT: /Users/webmaster/Sites/helpinghandscenter/config/…
Application Trace | Framework Trace | Full
Trace
#{RAILS_ROOT}/app/views/admin/page/new.rhtml:132:in
`_run_rhtml_admin_page_new’
/usr/local/bin/mongrel_rails:18

Running with webrick everything is fine. Mongrel problem?

Thanks for the direction. :slight_smile:

Paul C. wrote:

undefined method `find_all’ for Status:Class

Running with webrick everything is fine. Mongrel problem?

It could be. I don’t run mongrel myself. Please do investigate.


John L.
http://wiseheartdesign.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs