-
Notifications
You must be signed in to change notification settings - Fork 352
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 parameters #25
Comments
hey @royzinn, can you create a gist with your form and paste the link here?? |
hey @carloslopes here it is: https://gist.github.com/royzinn/7198456 Thanks! |
Which version of rails are you using? |
rails 4 with BS 3 |
@royzinn what version of bootstrap_form are you using? Rails 4 requires version 1.0 |
oops, looks like I forgot to update to the latest version (currently On Tue, Oct 29, 2013 at 7:27 PM, Stephen Potenza
|
yup, that seemed to be the issue. thanks. |
cool.. I'm very busy at work now so i don't have plans to work on this, i can only help reviewing PRs and issues at this momento 😥 I'll close this issue ok @royzinn? Reopen it if you have other problems. |
This error is happening for me with Rails 4.1.0.beta1 + bootstrap_form 2.0.1. I am using Bootstrap 3. This is a gist of my form: https://gist.github.com/lurkermike/8216402 The error message is: "wrong number of arguments (5 for 4)" at the line which contains the bootstrap_form_for call. I've tried stripping down the form to a single label and text field but the error persists. Any help would be appreciated. |
Hi,
I'm trying to use bootstrap_form_for, using the given example (just modified @user to my model and updated all required fields).
For some reason i'm getting an error "wrong number of parameters (4 for 5)" on the first line of the form (bootstrap_form_for(@item....) and I cannot seem to find the reason.
I'm using rails 4 + Bootstrap 3.
Any help would be appreciated,
Thanks,
Roy
The text was updated successfully, but these errors were encountered: