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:       <p><label
for="page_behavior">Behavior</label>
130:         <%= select "page", "behavior_id", [['<none>', '']] +
Behavior.find_all.map { |s| s.registered_id } %></p>
131:       <p><label for="page_status_id">Status</label>
132:         <%= select "page", "status_id", Status.find_all.map { |s|
[s.name, s.id] } %></p>
133:     </div>
134:     <span class="clear">&nbsp;</span>
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. :)
_______________________________________________
Radiant mailing list
[email protected]
http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to