Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: yossarian dunbar
RE: find_related_tags problem in 2.0.1? [ reply ]  
2006-08-28 13:53
All these problems seem to be fixed in 2.0.2. Thanks!

By: yossarian dunbar
RE: find_related_tags problem in 2.0.1? [ reply ]  
2006-08-12 19:12
The error I'm getting looks like this, where "media" was the name of the tag I was searching for:

Mysql::Error: Unknown column 'media' in 'where clause':

SELECT jt.event_id AS o_id
FROM tags_events jt, tags t

WHERE jt.tag_id = t.id
AND ( t.name IN (media))
GROUP BY jt.event_id
HAVING COUNT(jt.event_id)=1

By: yossarian dunbar
RE: find_related_tags problem in 2.0.1? [ reply ]  
2006-08-12 19:05
Also, I'm using the :joint_table option. Digging through it some more, it looks like it might be related to table names.

By: yossarian dunbar
RE: find_related_tags problem in 2.0.1? [ reply ]  
2006-08-12 18:58
Oh, uh, MySQL 5.0.22-Debian_3-log on Debian.

I am using commas as tag separators in case this influences anything.

By: yossarian dunbar
find_related_tags problem in 2.0.1? [ reply ]  
2006-08-12 18:55
Hi there,

Thanks for this great gem. I've just installed the 2.0.1 update, and I am getting errors on calls to "find_related_tags".

I am taking a look through the SQL leading up to line 409 of taggable.rb and will report back if I figure anything out.

Is anyone else having this problem?