Displaying 2 results from an estimated 2 matches for "itemtags".
Did you mean:
itemtag
2005 Dec 28
3
acts_as_taggable query
...ord::Base # already exists and has the required fields
like name, id & an 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...
2006 Jan 20
6
HELP: acts_as_taggable problem with :clear => true
I''ve got the basics of acts_as_taggable going, but I now want to use
:clear => true on the tags method, because the tags I''m supplying as
parameters are the complete set of tags for the item, not additions to
existing tags.
Problem is, that gives me a nasty SQL error ...
Unknown column ''id'' in ''where clause'': UPDATE items_tags SET