diff options
author | Gosha Arinich <me@goshakkk.name> | 2013-01-01 20:35:43 +0300 |
---|---|---|
committer | Gosha Arinich <me@goshakkk.name> | 2013-01-01 20:35:43 +0300 |
commit | fb58c0ed4a167ff04b7cbf4e4560fffb68109638 (patch) | |
tree | 231254fac1525537cd650488da57520e54b705f4 | |
parent | 684511825d3c36bc7d08e48acf58c5c2f99b826b (diff) | |
download | rails-fb58c0ed4a167ff04b7cbf4e4560fffb68109638.tar.gz rails-fb58c0ed4a167ff04b7cbf4e4560fffb68109638.tar.bz2 rails-fb58c0ed4a167ff04b7cbf4e4560fffb68109638.zip |
remove unnecessary always-nil var from #compact
-rw-r--r-- | activesupport/lib/active_support/dependencies/autoload.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/dependencies/autoload.rb b/activesupport/lib/active_support/dependencies/autoload.rb index 9fc58a338f..c0dba5f7fd 100644 --- a/activesupport/lib/active_support/dependencies/autoload.rb +++ b/activesupport/lib/active_support/dependencies/autoload.rb @@ -34,7 +34,7 @@ module ActiveSupport 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 |