Garrett Lancaster wrote in post #976554:
> Should be able to use .tempfile()
>
> Garrett Lancaster

thanks, have that working now.

What i really need is to be able to add that file to a model in the 
controller, the field is a file column field.

I know it generally comes from a  form and is saved but in this instance 
i have the tmp file 
"Filedata"=>#<File:/var/folders/9D/9D8PtWGBFgmSvF-Ue+uD9++++TI/-Tmp-/RackMultipart20110121-7108-6aqdij-0>}

and i need to do some processing first and then add it to the model, any 
suggestions?

JB

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to