mod_ruby and ActiveRecord

bart vandendriessche <[email protected]> Fri, 10 Feb 2006 10:12:52 +0100
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi all,

We are currently in the process of trying to setup Apache 2.0 with 
mod_ruby, ruby 1.8.4, rails 1.0.0 and mysql 5.0.

So far we've managed to get most things working, dispatching is working 
properly, rhtml files are properly interpreted, however, there seems to 
be one strange problem with ActiveRecord. Storing info using 
ActiveRecord works fine, when I fill out one of the scaffolded forms, my 
data will be visible in the DB after submitting. However, if I request a 
page that triggers a ActiveRecord find call, which then in turn returns 
results, I will get a blank page. If the query returns 0 results, the 
page will be displayed properly, but as soon as there are 1 or more 
results, the blank page will occur.
These pages work fine using when using just WEBrick. Any info / tips 
would be much appreciated.

Best regards,
Bart