how to delete folder only when files does not exis ?
like
Dir.delete “#{RAILS_ROOT}/public/images/#{property.id}/#{unit.id}”
how to delete folder only when files does not exis ?
like
Dir.delete “#{RAILS_ROOT}/public/images/#{property.id}/#{unit.id}”
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs