diff options
author | Kevin Deisz <kevin.deisz@gmail.com> | 2015-05-29 09:41:03 -0400 |
---|---|---|
committer | Kevin Deisz <kevin.deisz@gmail.com> | 2015-05-29 10:32:32 -0400 |
commit | 777fa257aaa962bf67f6e5522efaa420ea7dc88b (patch) | |
tree | 088161d48ab11cca58e09cb3d49c73a3f76db613 /activesupport/lib/active_support/json/decoding.rb | |
parent | 343dad9617e7448bf8effc7c70ae13bede38fd32 (diff) | |
download | rails-777fa257aaa962bf67f6e5522efaa420ea7dc88b.tar.gz rails-777fa257aaa962bf67f6e5522efaa420ea7dc88b.tar.bz2 rails-777fa257aaa962bf67f6e5522efaa420ea7dc88b.zip |
Allow Enumerable#pluck to take a splat.
This allows easier integration with ActiveRecord, such that
AR#pluck will now use Enumerable#pluck if the relation is loaded,
without needing to hit the database.
Diffstat (limited to 'activesupport/lib/active_support/json/decoding.rb')
0 files changed, 0 insertions, 0 deletions