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

option auto_html5_validation: false doesn't work when using model's namespace for form_for. #7

Open
chrhsmt opened this issue May 20, 2014 · 0 comments

Comments

@chrhsmt
Copy link

chrhsmt commented May 20, 2014

I'm using auto_html5_validation: false option for form_for tag with model object namespace.
ex:
<%= form_for([:admin, @client], auto_html5_validation: false) do |f| %>
so, it doesn't work.

because
variables named 'record' is Array...
in html5_validators's form_helpers.rb L:22

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