InvalidStatements with FastCGI and Rails

W

Williams, Chris

------_=_NextPart_001_01C4E449.C1F68ACC
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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=20
Invalid argument: SELECT * FROM versioned_components=20
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

------_=_NextPart_001_01C4E449.C1F68ACC--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top