diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-07-11 22:27:36 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-07-11 22:27:36 +0200 |
commit | 292501c7e01993faadfd953fd1b3154c470b65e2 (patch) | |
tree | 66e57110efb5ecd525f4bd66b1bdcefd7a3f781c /railties/lib/console_with_helpers.rb | |
parent | 6b9f8adb3eff3be81653bd565be4ff9c63cd775d (diff) | |
download | rails-292501c7e01993faadfd953fd1b3154c470b65e2.tar.gz rails-292501c7e01993faadfd953fd1b3154c470b65e2.tar.bz2 rails-292501c7e01993faadfd953fd1b3154c470b65e2.zip |
Use require_dependency 'application' not require in the console bootstraps to avoid requiring application.rb twice
Diffstat (limited to 'railties/lib/console_with_helpers.rb')
-rw-r--r-- | railties/lib/console_with_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/console_with_helpers.rb b/railties/lib/console_with_helpers.rb index 79018a9f76..be453a6896 100644 --- a/railties/lib/console_with_helpers.rb +++ b/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 |