Skip to content

The middleware does not work with non-Rails application. #2

@martinos

Description

@martinos

At line 19 of rack-validate.rb you make use of the blank? method, which is a Rails Object method (its not in the Ruby standard library). I would suggest you to change it with nil? or empty?.

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