Hi
I''ve got the acts as taggable gem installed. For the main it works
great, but when someone tags something with an apostrophe in it hangs.
Is there an easy way round this?
An example error is:
Mysql::Error: #42000You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near ''s'')
AND bookmarks.id = tags_bookmarks.bookmark_id GROUP BY
bookm'' at line 2: SELECT bookmarks.* FROM tags_bookmarks, bookmarks,
tags WHERE tags_bookmarks.tag_id = tags.id
AND (tags.name = ''children''s'')
AND bookmarks.id = tags_bookmarks.bookmark_id GROUP BY
bookmarks.id HAVING COUNT(bookmarks.id) = 1
Thanks for any help!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---