Active Record Invalid Statement

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.aspx')
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-forum.com/.

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.