Hai Give me an example for file upload. And tell me which one is better storing the file in our public(rails folder structure) folder is better or database? regards selvaraj -- 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 -~----------~----~----~----~------~----~------~--~---
Selvaraj wrote:> Hai > > Give me an example for file upload. And tell me which one is better > storing the file in our public(rails folder structure) folder is better > or database? > > regards > selvarajhai i forgot to tell u that i want to upload the text file(like .txt ,doc,xls) -- 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 -~----------~----~----~----~------~----~------~--~---
Questions like that are usually ignored in a community of volunteers. Many consider this type of question a "demand that you do it for me". Perhaps you should rephrase that with something like "Hey, I''m trying to upload a file to my site, and after following the directions at <insert site here>, I''m stuck. Can anyone look at my code and tell me where I went wrong? You should be able to search Google for "rails upload files" and find your answers. There are several Rails plugins that will help you out and have excellent documentation with working examples. Good luck... remember, if you get stuck implementing one of your solutions, I''m sure someone will help you if you can show some code :) On 4/20/07, Selvaraj <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > Selvaraj wrote: > > Hai > > > > Give me an example for file upload. And tell me which one is better > > storing the file in our public(rails folder structure) folder is better > > or database? > > > > regards > > selvaraj > > hai > > > i forgot to tell u that i want to upload the text file(like .txt > ,doc,xls) > > -- > 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 -~----------~----~----~----~------~----~------~--~---
Is this directed at your employee or a student? If not, we should exercise little civility here. On Apr 20, 7:50 am, Selvaraj <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Selvaraj wrote: > > Hai > > > Give me an example for file upload. And tell me which one is better > > storing the file in our public(rails folder structure) folder is better > > or database? > > > regards > > selvaraj > > hai > > i forgot to tell u that i want to upload the text file(like .txt > ,doc,xls) > > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
or maybe we could point them to previous discussions on this topic. http://groups.google.com/group/rubyonrails-talk/search?hl=en&group=rubyonrails-talk&q=file+upload&qt_g=Search+this+group or http://tinyurl.com/yq77w3 but yes, we should be polite. just my two cents. John On 4/20/07, Joon <joon.you-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Is this directed at your employee or a student? If not, we should > exercise little civility here. > > > On Apr 20, 7:50 am, Selvaraj <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > Selvaraj wrote: > > > Hai > > > > > Give me an example for file upload. And tell me which one is better > > > storing the file in our public(rails folder structure) folder is better > > > or database? > > > > > regards > > > selvaraj > > > > hai > > > > i forgot to tell u that i want to upload the text file(like .txt > > ,doc,xls) > > > > -- > > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
John Ivanoff wrote:> or maybe we could point them to previous discussions on this topic. > > http://groups.google.com/group/rubyonrails-talk/search?hl=en&group=rubyonrails-talk&q=file+upload&qt_g=Search+this+group > or http://tinyurl.com/yq77w3 > > but yes, we should be polite. > > just my two cents. > > Johnhai guys, This is not good,If u know the answer u can tell. Otherwise dont advise to unknow people. You may familiar with this group. Dont expect to evry one. When u people getting this kind of behavior.After getting some knowledge or from born itself. -- 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 -~----------~----~----~----~------~----~------~--~---