Permalink
Browse files

Typo: _tasks -> _paths

  • Loading branch information...
1 parent f4ce042 commit f56a1631be74d416625a436f4b96bba64b4d2855 @jeremy jeremy committed Feb 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/tasks/rails.rb
View
2 railties/lib/tasks/rails.rb
@@ -8,7 +8,7 @@
if deprecated_paths.any?
plugins = deprecated_paths.map { |p| $1 if p =~ %r((vendor/plugins/[^/]+/tasks)) }.compact
ActiveSupport::Deprecation.warn "Rake tasks in #{plugins.to_sentence} are deprecated. Use lib/tasks instead."
- deprecated_tasks.each { |ext| load ext }
+ deprecated_paths.each { |ext| load ext }
end
Dir["#{RAILS_ROOT}/vendor/plugins/*/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }

0 comments on commit f56a163

Please sign in to comment.