Hi, guys, I''m learning to use Rails. I want to add a file upload(*.rar,*.zip file only) funtion in my Web application. After upload, the file name will be renamed randomly and then store the URL of file in "file_path" column of database. How to do this with Rails? Thanks in advance! Devine -- 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 -~----------~----~----~----~------~----~------~--~---
Attachment-fu: http://www.clarkware.com/cgi/blosxom/2007/02/24 Zach Inglis → Blog — http://www.zachinglis.com → Company — http://www.lt3media.com → Portfolio — http://portfolio.zachinglis.com On May 13, 2007, at 8:53 AM, Devine Ackman wrote:> > Hi, guys, I''m learning to use Rails. > > I want to add a file upload(*.rar,*.zip file only) funtion in my Web > application. > After upload, the file name will be renamed randomly and then store > the > URL of file in "file_path" column of database. > How to do this with Rails? > > Thanks in advance! > > Devine > > -- > 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
take a look at http://uploadcolumn.rubyforge.org/ Devine Ackman wrote:> Hi, guys, I''m learning to use Rails. > > I want to add a file upload(*.rar,*.zip file only) funtion in my Web > application. > After upload, the file name will be renamed randomly and then store the > URL of file in "file_path" column of database. > How to do this with Rails? > > Thanks in advance! > > Devine-- 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 -~----------~----~----~----~------~----~------~--~---