Skip to content

params.fetch for checkbox #52

Open
@raghubetina

Description

@raghubetina

For starter:resource, to account for the problem caused by params.fetch when a checkbox is not checked, I include an extraneous <input>.

Instead, we should generate code

params.fetch("<%= attribute.column_name %>", "")

in the controller.

Metadata

Metadata

Assignees

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