search for: listscontrol

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

Did you mean: listcontrol
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
...ectory = "public/avatars" # create the file path path = File.join(directory, name) # write the file File.open(path, "wb") { |f| f.write(upload[''uploads''].read) } end end when i tried to upload a file its showing errors as TypeError in ListsController#save_imports can''t convert Tempfile into String can anyone help.is there any fault in this method?actually i wanted toupload this files into a table callled contactslists or to move to a folder in my application pls provide help -- Posted via http://www.ruby-forum.com/....