mirror of
https://github.com/github/rails.git
synced 2026-01-27 15:28:00 -05:00
Use require_dependency 'application' not require in the console bootstraps to avoid requiring application.rb twice
This commit is contained in:
@@ -16,7 +16,7 @@ def helper(*helper_names)
|
||||
end
|
||||
end
|
||||
|
||||
require 'application'
|
||||
require_dependency 'application'
|
||||
|
||||
class << helper
|
||||
include_all_modules_from ActionView
|
||||
|
||||
Reference in New Issue
Block a user