Permalink
Browse files

remove unnecessary always-nil var from #compact

  • Loading branch information...
1 parent 6845118 commit fb58c0ed4a167ff04b7cbf4e4560fffb68109638 @goshakkk goshakkk committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/dependencies/autoload.rb
@@ -34,7 +34,7 @@ def self.extended(base) # :nodoc:
def autoload(const_name, path = @_at_path)
unless path
- full = [name, @_under_path, const_name.to_s, path].compact.join("::")
+ full = [name, @_under_path, const_name.to_s].compact.join("::")
path = Inflector.underscore(full)
end

0 comments on commit fb58c0e

Please sign in to comment.