Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We get error on this line in steps.erb #111

Open
rajaramaniyer opened this issue Jun 18, 2024 · 0 comments
Open

We get error on this line in steps.erb #111

rajaramaniyer opened this issue Jun 18, 2024 · 0 comments

Comments

@rajaramaniyer
Copy link

rajaramaniyer commented Jun 18, 2024

<%= cell + ' | ' %>

(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} | " %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant