Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix load order of console sandbox. #9513

  • Loading branch information...
commit 727277f25395ed3447249bbcaa96db0864932a5c 1 parent c09f934
Yves Senn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/commands/console.rb
2  railties/lib/rails/commands/console.rb
View
@@ -46,6 +46,7 @@ def available_environments
def initialize(app, options={})
@app = app
@options = options
+ app.sandbox = sandbox?
app.load_console
@console = app.config.console || IRB
end
@@ -71,7 +72,6 @@ def debugger?
end
def start
- app.sandbox = sandbox?
require_debugger if debugger?
set_environment! if environment?
Please sign in to comment.
Something went wrong with that request. Please try again.