[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

InvalidStatements with FastCGI and Rails

Williams, Chris

12/17/2004 3:07:00 PM

Hi all,
Another rails/FastCGI question! Now that I have FastCGI set up
and running on my Rails app, I've run into some strange behavior. I keep
getting errors when trying to hit the DB:

ActiveRecord::StatementInvalid in Reports#software_rev
Invalid argument: SELECT * FROM versioned_components
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/conn
ection_adapters/abstract_adapter.rb:339:in `log'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/conn
ection_adapters/mysql_adapter.rb:123:in `select'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/conn
ection_adapters/mysql_adapter.rb:43:in `select_all'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/base
rb:276:in `find_by_sql'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.1.0/lib/active_record/base
rb:270:in `find_all'


The page loads and runs fine with FastCGI off, but I get the error above
if I have FastCGI running. Any ideas?

Thanks,
Chris