method

app

rails latest stable - Class: Rails::ConsoleMethods
app(create = false)
public

reference the global “app” instance, created on demand. To recreate the instance, pass a non-false value as the parameter.