Skip to content

Commit

Permalink
Require enumerable module when using #sum
Browse files Browse the repository at this point in the history
In dfa48f2,
a call to `#sum` was added. For that to always work, we need to require the
core_ext/enumerable module.
  • Loading branch information
bquorning committed Mar 22, 2016
1 parent bedb00a commit 4282c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/code_statistics.rb
@@ -1,4 +1,5 @@
require 'rails/code_statistics_calculator'
require 'active_support/core_ext/enumerable'

class CodeStatistics #:nodoc:

Expand Down

0 comments on commit 4282c5d

Please sign in to comment.