Created
January 20, 2014 11:29
-
-
Save dalpo/8518563 to your computer and use it in GitHub Desktop.
SimpleForm validation fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SimpleForm | |
module Inputs | |
class Base | |
private | |
def valid_validator?(validator) | |
# conditional validators are no surprise to us, so just check the action: | |
action_validator_match?(validator) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment