hi all, in my project i have to upload the csv file.i want to show the data of the file before submitting the form. how to do it..plesae help me its very urgent.. -- 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 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 -~----------~----~----~----~------~----~------~--~---
Hi, You may want to upload the file initially through AJAX, parse it and display the output for the user to validate. If the user submits the same, you can upload the same parsed value rather than re parsing the whole file all together. -NAYAK On Tue, Dec 30, 2008 at 6:26 PM, Rajkumar Surabhi < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > hi all, > in my project i have to upload the csv file.i want to show the data of > the file before submitting the form. > how to do it..plesae help me its very urgent.. > -- > 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 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 -~----------~----~----~----~------~----~------~--~---
Vishwanath Nayak wrote:> Hi, > > You may want to upload the file initially through AJAX, parse it and > display > the output for the user to validate. > If the user submits the same, you can upload the same parsed value > rather > than re parsing the whole file all together. > > -NAYAK > > On Tue, Dec 30, 2008 at 6:26 PM, Rajkumar Surabhi <thanks for ur reply... but i dont know how to do it as iam new bee to rails.iam aware of ajax and parsing.. is there any websites if plesae sugest them or if u have code plesae send me -- 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 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 -~----------~----~----~----~------~----~------~--~---
Ima nw to ruby. plz tell me if there are any sites dealing with that... raju Vishwanath Nayak wrote:> Hi, > > You may want to upload the file initially through AJAX, parse it and > display > the output for the user to validate. > If the user submits the same, you can upload the same parsed value > rather > than re parsing the whole file all together. > > -NAYAK > > On Tue, Dec 30, 2008 at 6:26 PM, Rajkumar Surabhi <-- 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 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 -~----------~----~----~----~------~----~------~--~---