search for: tags_items

Displaying 2 results from an estimated 2 matches for "tags_items".

2006 Mar 28
2
add_limit (in acts_as_taggable) breaks in 1.1, solution?
...says it takes two args, so I''m not sure what''s wrong. Adding logger.info("SQL here: " + sql) logger.info("Options here:" + options.inspect) before the add_limit! call gives SQL here: SELECT tags.id AS id, tags.normalized AS name, COUNT(*) AS count FROM tags_items, items, tags WHERE tags_items.tag_id = tags.id AND tags_items.item_id = items.id AND items.user_id = 2 GROUP BY tags.normalized ORDER BY count DESC Options here: {:order=>"count DESC", :conditions=>["items.user_id = ?", 2]} Anyone have any suggestions for what might be...
2005 Dec 28
3
acts_as_taggable query
...items (counter) end class Item < ActiveRecord::Base acts_as_taggable :join_class_name ''Itemtag'' # should I use join_table here? end class Itemtag <ActiveRecord::Base set_table_name ''itemtags'' # note that this is different from the default conention of tags_items end With the above settings I thought that the plugin would use the table I have created but when I try to add a tag using the Taggable::tag instance method I get an error becuase the plugins still tries to use tags_items table which doesnt exist. Is there anything else I need to do ? Second, I...