Displaying 2 results from an estimated 2 matches for "anylasvegas".
2006 Feb 09
3
acts_as_taggable Produces Bad SQL - Find Fails
...rch_string, :separator => ''+''
The problem is that the SQL generated looks like this:
SELECT lists.* FROM lists, tags, taggings WHERE lists.id =
taggings.taggable_id AND taggings.taggable_type = ''List'' AND taggings.tag_id
= tags.id AND tags.name IN (''anylasvegas'', ''separator+'')
See what''s right after the IN clause? It says ''anylasvegas'' - why? BTW,
using ''lasvegas'' returns the correct results.
I used the :any symbol in the finder per the instructions and all the
permutations I tried...
2006 Feb 09
0
acts_as_taggable Generating Funky SQL
...rch_string, :separator => ''+''
The problem is that the SQL generated looks like this:
SELECT lists.* FROM lists, tags, taggings WHERE lists.id =
taggings.taggable_id AND taggings.taggable_type = ''List'' AND taggings.tag_id
= tags.id AND tags.name IN (''anylasvegas'', ''separator+'')
See what''s right after the IN clause? It says ''anylasvegas'' - why? BTW,
using ''lasvegas'' returns the correct results.
I used the :any symbol in the finder per the instructions and all the
permutations I tried...