aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorGosha Arinich <me@goshakkk.name>2013-01-01 20:35:43 +0300
committerGosha Arinich <me@goshakkk.name>2013-01-01 20:35:43 +0300
commitfb58c0ed4a167ff04b7cbf4e4560fffb68109638 (patch)
tree231254fac1525537cd650488da57520e54b705f4 /activesupport
parent684511825d3c36bc7d08e48acf58c5c2f99b826b (diff)
downloadrails-fb58c0ed4a167ff04b7cbf4e4560fffb68109638.tar.gz
rails-fb58c0ed4a167ff04b7cbf4e4560fffb68109638.tar.bz2
rails-fb58c0ed4a167ff04b7cbf4e4560fffb68109638.zip
remove unnecessary always-nil var from #compact
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/dependencies/autoload.rb2
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