Permalink
Browse files

Use require_dependency 'application' not require in the console boots…

…traps to avoid requiring application.rb twice
  • Loading branch information...
1 parent 6b9f8ad commit 292501c7e01993faadfd953fd1b3154c470b65e2 @NZKoz NZKoz committed Jul 11, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/console_with_helpers.rb
@@ -16,7 +16,7 @@ def helper(*helper_names)
end
end
-require 'application'
+require_dependency 'application'
class << helper
include_all_modules_from ActionView

0 comments on commit 292501c

Please sign in to comment.