Apostophe error

Chris
Mon, 18 Jun 2007 10:01:54 -0000

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


--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---