-
Notifications
You must be signed in to change notification settings - Fork 102
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, client_side_validations 3.2.5, and simple_form 3.1.0 #41
Comments
could you please also provide all the info requested here: https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/master/CONTRIBUTING.md#submitting-a-new-issue? |
@ashes999 sorry... you should make sure you are using the last versions from github. The released gems don't work with Rails >= 4.0 gem 'client_side_validations', github: 'DavyJonesLocker/client_side_validations' |
@tagliala As I mentioned in the linked issue, I tried the GitHub version of the gem -- both the main branch and the "rails 4.0 quick fix" brach. Neither worked. Versions:
I think these are the versions. I don't use this any more, so I don't have any records of my configuration. Form code from the original issue:
I don't have resulting HTML since the form doesn't render. |
Those versions does not support rails 4.2.0 You must use versions at master branch (4.2.0 and 3.1.0) Gemfile: gem 'client_side_validations', github: 'DavyJonesLocker/client_side_validations'
gem 'client_side_validations-simple_form', github: 'DavyJonesLocker/client_side_validations-simple_form' |
Derp... Like I said, I'm not trying to use this any more, so I don't know exactly what versions I tried. For details, please see the original issue and ask the original author. I copy/pasted most of his details here, including the stack he provided. |
@ashes999 sorry, didn't get it |
closing here |
tagliala thanks |
Any reason to keep the master branch on Rails 4? |
@joaorsalmeida please do not hijack threads. Reason is: there is no CSV gem released for rails 5 |
@tagliala I'm really sorry about the hijack. I've got lost here between different CSV tabs in my browser :( |
As mentioned on this client_side_validations issue, using this combination of gems results in an error about arguments:
wrong number of arguments (3 for 2) in app/views/foo/bar.html.erb
The original (partial) stack reported was:
I ran into a similar error yesterday. I can't provide a new stack, since I switched to using a different plugin.
The text was updated successfully, but these errors were encountered: