Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.ru uses the effective Rack app #9669

Merged
merged 1 commit into from Mar 18, 2013

Commits on Mar 15, 2013

  1. config.ru uses the effective Rack app

    We used to pass the Rails::Application subclass to #run.
    The Rails server then called #to_app to convert that class to the
    actual Rack application.
    
    if you surround `#run` with a call to `#map` the server no longer
    convertes the class to the instance and we end up with unnecessary
    delegation calls on every request.
    senny committed Mar 15, 2013
    2
    Copy the full SHA
    9b5c085 View commit details
    Browse the repository at this point in the history