Discussion Forums
Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
- Topic List
- Most Recent Posts
- Sign In for more options
FILE EDIT/DELETE
2 Posts
FILE EDIT/DELETE
HI im mohd anas.. i used fileutils lib to save the file to public folder of my app..... Now i want to edit/delete the file from public folder using fileutils...
MOHD ANAS
http://www.ruby-doc.org/core/classes/FileUtils.html
FileUtils.rm(list, options) or FileUtils.remove_file(path, force = false)
2 Posts
