[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Active Record Invalid Statement

John Honovich

3/23/2008 8:32:00 AM

Can anyone help identify the cause of the exception below?


Mysql::Error: Lost connection to MySQL server during query: SELECT *
FROM `pages` WHERE (`pages`.`url` =
'http://vidsys.com/Solutions/Surveillance-Solutions/tabid/42902/Default...)
LIMIT 1 (ActiveRecord::StatementInvalid)

I assume this is a problem related to the URL? I am thinking it might
be the '-' in the URL.

I am processing a collection of URLs, all work, except for this one.

Any help would be appreciated.

Best,

John
--
Posted via http://www.ruby-....

1 Answer

Arlen Cuss

3/23/2008 12:11:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

Hi,

You'll have to have a look at your SQL server's logs, I would imagine. This
isn't a problem in any Ruby code so far as i can tell.

Cheers,
Arlen.