-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
ArgumentError (wrong number of arguments (given 4, expected 3)) #948
Comments
LucasCioffi
changed the title
ArgumentError (wrong number of arguments (given 4, expected 3)):
ArgumentError (wrong number of arguments (given 4, expected 3))
Aug 11, 2018
Guess this is a duplicate of #947 |
@LucasCioffi Try to upgrade to ransack 2.0.0, that should fix the problem. |
This was referenced Aug 23, 2018
This error is happening again in with activerecord-6.0.0.rc2 |
@arbesulo Try with ransack master please. |
Cannot add github branch as a gem dependency. Could you please release current master as some new version? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I was getting
ArgumentError (wrong number of arguments (given 4, expected 3))
on an ActiveAdmin index page where Ransack was used for filters in a sidebar menu.Rails 5.2.1
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
To get past it, I had to change this:
join_dependency = JoinDependency.new(relation.klass, relation.table, association_joins, alias_tracker)
to this:
JoinDependency.new(relation.klass, relation.table, association_joins, alias_tracker)
Log
Gemfile:
The text was updated successfully, but these errors were encountered: