Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unnecessary always-nil var from #compact

  • Loading branch information...
commit fb58c0ed4a167ff04b7cbf4e4560fffb68109638 1 parent 6845118
@goshakkk goshakkk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/dependencies/autoload.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.