Skip to content

Commit

Permalink
Move console stuff to its own directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jan 23, 2010
1 parent f915f9e commit d3c4024
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions railties/lib/rails/commands/console.rb
@@ -1,6 +1,6 @@
require 'optparse'
require 'irb'
require "irb/completion"
require 'irb/completion'

module Rails
class Console
Expand All @@ -24,9 +24,9 @@ def start
end

@app.initialize!
require "rails/console_app"
require "rails/console_sandbox" if options[:sandbox]
require "rails/console_with_helpers"
require "rails/console/app"
require "rails/console/sandbox" if options[:sandbox]
require "rails/console/helpers"

if options[:debugger]
begin
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions railties/test/application/console_test.rb
Expand Up @@ -9,8 +9,8 @@ def setup

# Load steps taken from rails/commands/console.rb
require "#{rails_root}/config/environment"
require 'rails/console_app'
require 'rails/console_with_helpers'
require 'rails/console/app'
require 'rails/console/helpers'
end

def test_app_method_should_return_integration_session
Expand Down

0 comments on commit d3c4024

Please sign in to comment.