group_by_summary 0.2.1
Takes array produced from StoreInventory.group(:name, :fruit).pluck(:name, :fruit, 'sum(quantity)') and produces an array of arrays suitable for display in a table.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
版本列表:
- 0.2.1 - July 04, 2015 (9.0 KB)