Skip to content

ActionView::Template::Error (no implicit conversion of String into Integer)  #392

Open
@justin808

Description

@justin808

There are still cases where the error message:

ActionView::Template::Error (no implicit conversion of String into Integer)

is extremely obtuse.

I'm opening this issue so that others when they see this can paste the offending code. I'd paste my example, but I forgot what it was. Then another team member of mine hit the same error and got stuck for a long time.

The process I used to solve the issue is:

  1. Comment out lines in the template to find the offending line or lines.
  2. Read examples super carefully and look for errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions