method

file_exist?

rails latest stable - Class: Rails::Rack::Static

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

file_exist?(path)
private

No documentation available.

# File railties/lib/rails/rack/static.rb, line 35
        def file_exist?(path)
          full_path = File.join(@file_server.root, ::Rack::Utils.unescape(path))
          File.file?(full_path) && File.readable?(full_path)
        end