diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-01-01 09:40:53 -0800 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-01-01 09:40:53 -0800 |
commit | 7c6246bbf0316f7a4e391bac2baeb8a52ac11bef (patch) | |
tree | 231254fac1525537cd650488da57520e54b705f4 | |
parent | 684511825d3c36bc7d08e48acf58c5c2f99b826b (diff) | |
parent | fb58c0ed4a167ff04b7cbf4e4560fffb68109638 (diff) | |
download | rails-7c6246bbf0316f7a4e391bac2baeb8a52ac11bef.tar.gz rails-7c6246bbf0316f7a4e391bac2baeb8a52ac11bef.tar.bz2 rails-7c6246bbf0316f7a4e391bac2baeb8a52ac11bef.zip |
Merge pull request #8675 from goshakkk/cleanup
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 |