Also eliminates inadvertent double slashes:
path = '/uploads/art/' file = '/pic.jpg' File.join(path, file) # => '/uploads/art/pic.jpg'