Displaying 1 result from an estimated 1 matches for "pic_temp".
Did you mean:
pfc_temp
2006 Jun 27
4
File Column has me stumped
...quot;user", "pic" %></p>
<%= submit_tag "Change" %>
<%= end_form_tag %>
controller:
def settings_save
@user = User.find(params[:id])
@user.update_attribute("pic", params[:pic])
end
In the log:
Parameters: {"user"=>{"pic_temp"=>"", "pic"=>#<File:/tmp/CGI11901.1>},
"commit"=>"Change", "action"=>"settings_save", "id"=>"9",
"controller"=>"account"}
It seems the variable is not being passed cor...