Skip to content

Commit

Permalink
Use require_dependency 'application' not require in the console boots…
Browse files Browse the repository at this point in the history
…traps to avoid requiring application.rb twice
  • Loading branch information
NZKoz committed Jul 11, 2008
1 parent 6b9f8ad commit 292501c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/console_with_helpers.rb
Expand Up @@ -16,7 +16,7 @@ def helper(*helper_names)
end
end

require 'application'
require_dependency 'application'

class << helper
include_all_modules_from ActionView
Expand Down

0 comments on commit 292501c

Please sign in to comment.