Topic: another question regarding params

if I use

<input type="file" name="picture_file" />

in my form I can do this params['picture_file'] but how do I access file attribute of picture if I use this <%=file_tag "picture" "file"%>. note the latter makes the name="picture[file]"

Last edited by desi (2007-07-18 15:21:41)

Re: another question regarding params

With:

params[:picture][:file]

Alex