Thanks for that... Have you heard of roo? http://roo.rubyforge.org/ Has anyone tried to get that working in a hobo app?
Abu On 2 February 2011 16:20, Tiago Franco <[email protected]> wrote: > argh. the CSV part is messed up... but I think you might get it. > > sorry > > TF > > > On 02/02/2011 04:18 PM, Tiago Franco wrote: > > Hi Apu, > > For what understand you want to import the data from the excel to the > database? > > If so, you an set a processor on paperclip to do that. See the post > processing section: https://github.com/thoughtbot/paperclip > > To load the excel, you can use the 'csv' library from ruby: > http://www.weheartcode.com/2007/10/05/reading-an-excel-file-with-ruby/ > > The library above is just an example. There could be a better gem at > http://rubygems.org/ > > Hope it helps, > TF > > On 02/02/2011 04:13 PM, Abu A wrote: > > I just need to upload the excel files and the data added to the database. > > I have followed the tutorial here: > http://cookbook.hobocentral.net/plugins/paperclip_with_hobo > but this is for uploading an image. Can you please guide me through how I > can change it to upload a xls file. > > Thanks in advance > > On 2 February 2011 15:39, Mark Sobkowicz <[email protected]> wrote: > >> paperciip works for any files, and would be fine with excel files. I've >> used it for uploading pdfs. If you wanted to do something with the excel >> files, paperclip wouldn't help you there. >> >> >> On Feb 2, 2011, at 10:33 AM, Abu A wrote: >> >> Hi >> >> I am trying to set up a upload option in my app for people to upload excel >> files. I know there is paperclip but that is for images. >> Anyone has good advice? >> >> Abu >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Hobo Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<hobousers%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/hobousers?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" 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/hobousers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
