Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove explicit dependency mechanism setting in console_app

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit c0d24778867e8b39c160542923f4ccb6b3f48d30 1 parent 2e67f1a
@jamis jamis authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 railties/lib/console_app.rb
View
6 railties/lib/console_app.rb
@@ -3,10 +3,6 @@
# work around the at_exit hook in test/unit, which kills IRB
Test::Unit.run = true
-# have to use :require dependencies mechanism with the integration test stuff,
-# or things start acting really wierd from request to request.
-Dependencies.mechanism = :require
-
# reference the global "app" instance, created on demand. To recreate the
# instance, pass a non-false value as the parameter.
def app(create=false)
@@ -28,4 +24,4 @@ def new_session
def reload!
puts "Reloading..."
Dispatcher.reset_application!
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.