On Sábado, 11 de Septiembre de 2010 15:51:48 Shanbo escribió: > Hi there, > > I am using AS with paperclip. > What I need is to upload a (CSV) file, parse the content and save the > content to database. > Do you know where should I put the function/method to process the > uploaded file? and how to read the file?
It isn't a question about AS. Anyway, you can look for paperclip post processing and custom processors, but if you don't need to save csv file you can do it without paperclip, using a simple input file to send the file and invoking the method to process the file from the controller action. -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
