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!
on 2007-07-23 15:34