Hi, I''m newbie, Searched a lot for tutorials related to File upload, but all are out-dated. I''m want to implement simply, no Database, no Model, without any plugin. Just want to upload in Public Folder, and list out if any file is saved. Can anyone show me this simple code. Thanks ALi -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Just curious why you want to do this without using any database or models or gems? At any rate, check out this tutorial below. It uses a model, but you can copy the code from the DataFile class to accomplish what you are trying to do. http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm By the way, that tutorial is the first result in Google when you search for "file upload rails" Google is usually a good place to start for questions like this. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ByZdffVrpPIJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.