-
Notifications
You must be signed in to change notification settings - Fork 405
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
wrong number of arguments (3 for 2) with Rails 4.0.0.RC1, client_side_validations 3.2.5 and simple_form 3.0.0.beta1 #535
Comments
Please try this branch: https://github.com/bcardarella/client_side_validations/tree/rails-4.0-quick-fixes |
I ran into this problem today. It seems both the branch mentioned in @bcardarella 's comment, and the latest and greatest master branch, both have the same error. Please re-open this issue. How did you get past this @BjoernKW ? |
@ashes999 please do not mention @bcardarella I'm the maintainer now. Please open a new request following our contributing guidelines: https://github.com/DavyJonesLocker/client_side_validations/blob/master/CONTRIBUTING.md#submitting-a-new-issue I can't confirm this bug: https://travis-ci.org/DavyJonesLocker/client_side_validations-simple_form |
also, if this issue is related to the simple form plugin, use this repository: https://github.com/DavyJonesLocker/client_side_validations-simple_form |
@tagliala okay, thanks. I have confirmed this bug. I will re-open it on the new repository. FYI, this issue still shows up quite high in Google, which is why I commented here. |
I assume this is still an issue? |
locking here 🔒 |
The following simple form:
<%= simple_form_for(@service) do |f| %>
<%= f.input :name %>
<% end %>
results in the following error:
wrong number of arguments (3 for 2) in app/views/public/index.html.erb, line 8 with line 8 in that file being
<%= simple_form_for(@service) do |f| %>
Root cause is:
(gem) actionpack-4.0.0.rc1/lib/action_view/helpers/form_helper.rb, line 426
(gem) client_side_validations-3.2.5/lib/client_side_validations/action_view/form_helper.rb, line 25
The text was updated successfully, but these errors were encountered: