Commit 0c015601 by liyijie

fix ransack error

parent 679574f2
...@@ -44,7 +44,7 @@ module TalltyImportExport ...@@ -44,7 +44,7 @@ module TalltyImportExport
else else
records.group(@group_by).count.keys.each do |key| records.group(@group_by).count.keys.each do |key|
@group_key = key @group_key = key
export_workbook workbook, records.ransack("#{@group_by_eq}" => key).result export_workbook workbook, records.ransack("#{@group_by}_eq}" => key).result
end end
end end
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment