Displaying 3 results from an estimated 3 matches for "picture_fil".
Did you mean:
picture_file
2006 Feb 19
2
Prototype Ajax + File Uploading-- How?
...seeing
params[:if] or params[:image_file] (not sure which I should expect, but
neither are there), nor am I seeing anything in the logs from the running
fastcgi install;
Processing AdminInterfaceController#create (for W.X.Y.Z at 2006-02-19
01:31:25) [POST]
Parameters: {"dp"=>{"picture_file"=>"", "city"=>"PORTSMOUTH",
"latitude"=>"43.078843", "title"=>"Market JUNK", "geo_source"=>"Yahoo",
"zipcode"=>"03801-3730", "description"=>""...
2006 Jul 26
4
Upload File
I got this error:
NoMethodError in PictureController#new
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.uploaded_file=
and the line code is here:
@picture.uploaded_file = @params[''picture_file'']
--
Posted via http://www.ruby-forum.com/.
2007 Aug 03
6
Problems saving an uploaded image to an app folder
...e image
data in the database, i want to put the filename and content type into
the db, then rename the image with its record''s id number, and then save
it into a local folder in my app folder. (hardcoded for now)
All the details are being saved to the db ok, so as far as i know the
"picture_file=" method is fine. But when i try to write the image with
write_to_disc i have a problem: if i get the ''read'' field from the
uploaded image, store it in a variable, and try to write it with another
method, i get an error saying "no ''write'' method exi...