Permalink
Browse files

Merge pull request #10118 from vipulnsward/remove_unused_var_task

remove unused variables
  • Loading branch information...
2 parents dfdc1e3 + 74d0906 commit 1d95c566fb87b5c578b9d1701e0b8f8fc8d463a4 @carlosantoniodasilva carlosantoniodasilva committed Apr 6, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −1 railties/lib/rails/engine.rb
  2. +0 −1 railties/lib/rails/test_unit/testing.rake
@@ -553,7 +553,7 @@ def load_seed
#
# This needs to be an initializer, since it needs to run once
# per engine and get the engine as a block parameter
- initializer :set_autoload_paths, before: :bootstrap_hook do |app|
+ initializer :set_autoload_paths, before: :bootstrap_hook do
ActiveSupport::Dependencies.autoload_paths.unshift(*_all_autoload_paths)
ActiveSupport::Dependencies.autoload_once_paths.unshift(*_all_autoload_once_paths)
@@ -82,7 +82,6 @@ namespace :test do
# Display deprecation message
task :deprecated do
- task_name = ARGV.first
ActiveSupport::Deprecation.warn "`rake #{ARGV.first}` is deprecated with no replacement."
end

0 comments on commit 1d95c56

Please sign in to comment.