Fill Form Fields With Contents Of Uploaded File

Hi Guys,

I would like to pick a file, "upload" it, but not really upload (I already have the upload form), but only to get its contents and put those contents in the fields of an ActiveRecord.

Is there a "best practice" to manage this?

Thanks in advance!

BR

c

Read it from the controller and save value to model, pass the model to the view .