Forum: Ruby on Rails acts_as_taggable

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alexander (Guest)
on 2006-02-19 16:53
does anyone now how to delete tags. The code below doesn't seem to work

def remove_tag
    	@page = Page.find(params[:id])
    	@tag = Tag.find(params[:tag])
    	arr = @page.tag_names
    	arr.delete( )
    	@page.tag( arr, :clear => true )
    	render( :partial => 'show_tags' )
This topic is locked and can not be replied to.