Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
martinos opened this issue Oct 25, 2010 · 0 comments
Open

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

martinos opened this issue Oct 25, 2010 · 0 comments

Comments

@martinos
Copy link
Contributor

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?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant