Skip to content

Can't get form_with to work from a cell in Rails 6 #484

@marnen

Description

@marnen

I just tried to use Cells with a Rails 6 application, and failed when trying to generate a (non-model-based) form. Even though I included ActionView::Helpers::FormHelper into the cell, form_with (and form_tag) always failed with NoMethodError: undefined method `[]' for nil:NilClass. Any ideas as to how to get this to work?

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