Apostophe error

Hello,

I received the following error when updating a field in an
activerecord which contains an apostrophe “’”

ActiveRecord::StatementInvalid (DBI::DatabaseError: Execute
OLE error code:80040E14 in Microsoft OLE DB Provider for SQL
Server
Öffnendes Anführungszeichen vor der Zeichenfolge
‘70dea99f72a57e4c3c0e35079cd9a4e1de03b4df WHERE [ID] = 957’.

This is primaly caused by a field which contains: “Hugo’s housewifes”

Anbyody out there who can give me a tip?

Thanks!
Chris

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs