Skip to content

Commit

Permalink
Merge pull request #29628 from kamipo/fix_next_version_of_rails
Browse files Browse the repository at this point in the history
Fix the next version of Rails from 5.3 to 6.0
  • Loading branch information
rafaelfranca committed Jun 29, 2017
2 parents a317af9 + 1d264f0 commit 47c74e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/relation/calculations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def count(column_name = nil)
unless column_name.nil?
ActiveSupport::Deprecation.warn \
"When `count' is called with a block, it ignores other arguments. " \
"This behavior is now deprecated and will result in an ArgumentError in Rails 5.3."
"This behavior is now deprecated and will result in an ArgumentError in Rails 6.0."
end

return super()
Expand Down Expand Up @@ -86,7 +86,7 @@ def sum(column_name = nil)
unless column_name.nil?
ActiveSupport::Deprecation.warn \
"When `sum' is called with a block, it ignores other arguments. " \
"This behavior is now deprecated and will result in an ArgumentError in Rails 5.3."
"This behavior is now deprecated and will result in an ArgumentError in Rails 6.0."
end

return super()
Expand Down

0 comments on commit 47c74e3

Please sign in to comment.