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

New 3rd Param in json_for_autocomplete breaks old code #41

Closed
fakingfantastic opened this issue May 6, 2011 · 2 comments
Closed

New 3rd Param in json_for_autocomplete breaks old code #41

fakingfantastic opened this issue May 6, 2011 · 2 comments
Assignees

Comments

@fakingfantastic
Copy link

So in here

https://github.com/crowdint/rails3-jquery-autocomplete/blob/1067e4b3dc40952fbb46b70ec0497e5b55b3ce90/lib/rails3-jquery-autocomplete/helpers.rb

You've added a new 3rd param, extra_data

Can you please nil it out so it doesn't give a wrong arg count for old code, just extra_data = nil or something.

Thanks, great gem!

@ghost ghost assigned ovargas27 May 12, 2011
@dabit
Copy link
Contributor

dabit commented May 13, 2011

Issue will be fixed on next release.

Thanks

@dabit dabit closed this as completed May 13, 2011
@sjtipton
Copy link

Has this issue been resolved? We are getting ArgumentError (wrong number of arguments (3 for 2)) only when running in production on Heroku. Can't locate the above helper file in the current source...

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

4 participants