Displaying 1 result from an estimated 1 matches for "join_class".
Did you mean:
bin_class
2006 Jan 20
6
HELP: acts_as_taggable problem with :clear => true
...9;': UPDATE items_tags SET item_id =
NULL WHERE (item_id = 2 AND id IN (NULL,NULL,NULL,NULL,NULL,NULL,NULL))
Any ideas ?
My call to tags (in update method in controller) is like this
@item.tag(params[:tags], :clear => true )
Acts_as_taggable is invoked like this
acts_as_taggable :join_class_name => ''ItemTag'', :join_table =>
''items_tags''
i.e. my link table and join_class follow the usual rails conventions,
not the usual acts_as_taggable conventions.
Thanks in advance for any help,
Andy
--
Posted via http://www.ruby-forum.com/.