Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
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
Login to add your message