I have this recurrent problem that I just can't figure out. On several parts of the application when active record is executing some query it throws a ActiveRecord::StatementInvalid exit like this:
A ActiveRecord::StatementInvalid occurred in someapplication#some_action: SystemExit: exit: SELECT * FROM project WHERE (project.`id` = 99999) /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log' The thing is that the next time you try the same action, it works fine, also if you run that query directly in a console or any query browser it returns a valid result. The occurrence is very random. Any help or comments are greatly appreciated. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

