-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
remove_from_list causing "wrong number of arguments (given 2, expected 0..1)" #293
Comments
Hi @trackedsupport, can you provide us with a stack trace? Be sure to format it as code in the post so it's easier for us to look at :) I suspect it'll be some configuration or usage error on your end though at this stage. |
There's really not much of a stack trace to show. I don't actually see a stack trace showing acts_as_lists classes, only my own classes. But it seems to all point to that one method. I only got the error one day so maybe there was an issue with the server and multiple requests hitting at the same time. I'm going to close for now since it sounds like an issue on my side. Thanks! |
Ok, make sure you select Application from the error screen to show the entire trace and not just the files from your application. Then you'll see the acs_as_list lines referenced. |
I coudn't reproduce but i configured it so exception notification would inform me of the full backtrace. Could it be an issue with one of these dependent destroy callbacks? Ive never seen this before! Thanks again for any help!
|
Sorry man, there's not enough information there to help me figure out what the problem is. If you can get it breaking again, and get a full stack trace let me know. I suspect it might be an issue specific to your application but if you find otherwise I'm more than happy to take a look provided you can get me a good amount of info on the issue :D |
I noticed when I call remove_from list or destroy this error happens. It could very well be something I'm doing since I don't see anyone else having this issue. Does anyone know why this would occur?
"wrong number of arguments (given 2, expected 0..1)"
The text was updated successfully, but these errors were encountered: