Active Record Invalid Statement

J

John Honovich

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
 
A

Arlen Cuss

[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.
 

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,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top