search for: save_contacts

Displaying 1 result from an estimated 1 matches for "save_contacts".

2010 Mar 26
2
file upload error(can't convert Tempfile into String)
...tacts_from_file} %table{ :width => 500, :cellpadding => 0, :cellspacing => 0 } %tr %td{ :valign => :top } .label.top.req #{t :upload_new}: =f.file_field :uploads, :style => "width:240px" .buttonbar = f.submit "#{t:save_contacts}", :onclick => "this.disabled = true" #{t :or} = link_to_cancel edit_list_path(@list) i created amodel contact list and nclude amethod as given below class Contactslist < ActiveRecord::Base def self.save(upload) name = upload[''uploads'...