diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-17 19:08:07 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-21 22:21:01 -0200 |
commit | ad9983f625ea414c5b7bbc0fd12be17ec04fc590 (patch) | |
tree | 352c4e140b1d689ad37ce6e4099eff9d7f061c56 /.travis.yml | |
parent | 76a6bfd6c8dc9e3c27779a39b3e04402e20f0eaa (diff) | |
download | rails-ad9983f625ea414c5b7bbc0fd12be17ec04fc590.tar.gz rails-ad9983f625ea414c5b7bbc0fd12be17ec04fc590.tar.bz2 rails-ad9983f625ea414c5b7bbc0fd12be17ec04fc590.zip |
Deprecate Relation#sum with a block.
To perform a sum calculation over the array of elements, use to_a.sum(&block).
Please check the discussion in f9cb645dfcb5cc89f59d2f8b58a019486c828c73
for more context.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions