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

Let #console live in Kernel #182

Merged
merged 1 commit into from
Jan 24, 2016

Commits on Jan 24, 2016

  1. Let #console live in Kernel

    With this change, we can render a console from any part of an Rails
    application, not just in the controllers or the views. Wanna introspect
    a model or your plain old Ruby class? No problem!
    
    Hopefully, this change can boost up the usage of the `#console` helper.
    
    To do this juggling we now persist a binding or an exception in a fiber
    local variable. The middleware can create a console session from those,
    when needed. This is a global state, so we take precautions to clean it
    between requests, even in multi-threaded environments.
    gsamokovarov committed Jan 24, 2016
    Configuration menu
    Copy the full SHA
    8f308d8 View commit details
    Browse the repository at this point in the history