Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

(wrong number of arguments (given 4, expected 3) on search for users and musicians #8

Closed
rhelsing opened this issue Nov 2, 2018 · 1 comment

Comments

@rhelsing
Copy link

rhelsing commented Nov 2, 2018

ArgumentError (wrong number of arguments (given 4, expected 3)):
09:20:03 web.1 |
09:20:03 web.1 | app/controllers/api/admin/users_controller.rb:5:in `index'

I did switch to use postgres.

@gbarillot
Copy link
Owner

gbarillot commented Nov 2, 2018

Ok, got it. It's a ransack issue, see here: https://github.com/activerecord-hackery/ransack/issues/948 and activerecord-hackery/ransack#947.

bundle update ransack

fixed the issue. For the record, I just upgraded Ransack version in the current repo so no one should be annoyed with this one from now on.

Let me know if you still have issues...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants