We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been looking for a simple way to check if the flash is empty, but it does not provide any simple array/hash methods for that.
Maybe adding an empty? method to the class that returns true on empty values.
Any ideas on how to do that right now?
The text was updated successfully, but these errors were encountered:
Bump. Let's find the solution.
Sorry, something went wrong.
The only option I see upon superquick inspection is to use flash.has?(:error).
flash.has?(:error)
No branches or pull requests
I've been looking for a simple way to check if the flash is empty, but it does not provide any simple array/hash methods for that.
Maybe adding an empty? method to the class that returns true on empty values.
Any ideas on how to do that right now?
The text was updated successfully, but these errors were encountered: