ReportBuilder
ReportBuilder copied to clipboard
We get error on this line in steps.erb
https://github.com/rajatthareja/ReportBuilder/blob/57fdd658f9127a173b07c80f7d4418c9e151fe36/template/step.erb#L18
(erb):18:in `block (6 levels) in build_report': undefined method `+' for nil:NilClass (NoMethodError)
from (erb):17:in `each'
from (erb):17:in `block (5 levels) in build_report'
from (erb):15:in `each'
from (erb):15:in `block (4 levels) in build_report'
from C:/Ruby32-x64/lib/ruby/3.2.0/erb.rb:429:in `eval'
from C:/Ruby32-x64/lib/ruby/3.2.0/erb.rb:429:in `result'
from (erb):21:in `block (4 levels) in build_report'
from (erb):20:in `each'
from (erb):20:in `block (3 levels) in build_report'
from C:/Ruby32-x64/lib/ruby/3.2.0/erb.rb:429:in `eval'
from C:/Ruby32-x64/lib/ruby/3.2.0/erb.rb:429:in `result'
from (erb):4:in `block (3 levels) in build_report'
from (erb):2:in `each'
from (erb):2:in `each_with_index'
from (erb):2:in `block (2 levels) in build_report'
from (erb):1:in `each'
... 15 levels...
changing it as follows resolves the issue...
<%= "#{cell} | " %>