Permalink
Browse files

Really fix #1322 (Rake::DSL issue)

  • Loading branch information...
1 parent f07fd69 commit d92b22f22f1c8170237a1be09006c9c306649028 @sirlantis sirlantis committed May 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/railtie.rb
@@ -181,7 +181,7 @@ def load_console
end
def load_tasks
- extend Rake::DSL if defined? Rake::DSL
+ self.class.extend Rake::DSL if defined? Rake::DSL
self.class.rake_tasks.each(&:call)
end

0 comments on commit d92b22f

Please sign in to comment.