Displaying 1 result from an estimated 1 matches for "screenshot_temp".
Did you mean:
5bscreenshot_temp
2006 May 02
2
Mechanize and file_column
...dy controller :create action that looks like this:
def create
render :text => params.inspect
end
I get this result from a manual upload from a form:
{"commit"=>"Create", "snapshot"=>{"screenshot"=>#<File:/tmp/CGI8585.3>,
"screenshot_temp"=>"", "processes"=>"foo bar"}, "action"=>"create",
"controller"=>"snapshots"}
(model name is Snapshot which has a file_column :screenshot, controller
is :snapshots)
But I get this result from Mechanize:
{&qu...