Acts_as_taggable_on_steroids form


#1

Hi, i need help with a way to add tags to titles. i can not enter any
values to tags and tagging tables this way.

title_new.rhtml

<% form_tag :action=>‘title_create’ do %>

Name:<%= text_field 'title', 'name' %>

Tags (seperate with comma ','): <%= text_field 'title','tag_list'%>

<%= submit_tag 'Create' %> <% end %>

def title_new
@title = Title.new
end

def title_create
@title = Title.new(params[:title])
@title.tag_list
@title.save
end

any help will be appreciated.
thanks