I should say that I''m using rails 1.2.6, and this is self-rolled file
code in the controller and model.
On Jan 3, 12:06 pm, Michael Kohout
<mwkoh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''ve got a form that contains a number of textfields, as well as a
> file upload element.
>
> I''ve noticed that this field doesn''t retain it''s
data after validation
> errors. While I know html/http doesn''t allow form fields to be
pre-
> populated per se, it can be faked by stuffing it into the session.
> Yuck.
>
> Is there any accepted pattern/best practice for faking it that
doesn''t
> require the file to be tacked to the session?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---