Skip to content

Rejecting The Entire Hash #1

@gavinbelson

Description

@gavinbelson

This gem works great for allowing only certain values in the .pemit. However, if the checked field is not required on the model, it will let the rest of the hash pass through. This could be an issue on the create action.

It would be amazing if this gem also rejected the entire hash if the .allow test fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions