split form values ..

i ve form like

<% form_tag 'create', :multipart => true do %>
<p><label for="show_title">Title</label>:
<%=text_field 'show','title'%></p>
<p><label for="book_mobile_name">Mobile Type</label>:
<%=text_field 'show','mobilename'%></p>
<p><label for="book_price">Price</label>:
<%=text_field 'show','price'%>
<p><label for="book_description">Description</label>:
<%=text_field 'show','description'%></p>
<p><label for="book_file">Image</label>:
<%= file_field 'upload','filename' %>
  <%= submit_tag "Send Attachment" %>
<% end %>

in my controller

def create
    @show =Show.new(params[:show])
i need to split params[:show] values or pls help me how to upload this

From http://api.rubyonrails.org

Syntax: file_field(object_name, method, options = {})

You should be doing file_field :show, :upload to parameterize it
within the 'show' object.

Also, just use <%form_for @show, do |f| %> ... <% end %> instead of
qualifying each tag. You can then use f.text_field :mobile_name,
f.field_field :upload ,etc.