-
Notifications
You must be signed in to change notification settings - Fork 17
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
undefined method `arity' #24
Comments
it's not tested against ruby 3 and rails 6.1. could you try with ruby 2 and rails 6.0? |
Tested working with Ruby 2.6.3 and Rails 6.0. |
I cannot investigate this currently. However I would try to find out if it's caused by last rails or last ruby firstly. I guess I may be able to debug this not earlier than 2 weeks sorry. Let me know if you find anything |
So, basically, I'm still stuck, I don't really have much experience debugging. Currently, I'm stuck in this file I landed there from
I ran diffs on both on
The
I then checked
This particular file has got quite a bit differences with the 5.2.1 version diff here I'd really wish I could help some more but I'm afraid I reached my limit in this regard. Regards, |
Thank you for your effort but I would not go so deep right now. First of all I can confirm that the arity problem is related to ruby3 and not to rails 6.1. Is ruby3 a requirement for you? |
Not really, TBH. I took the whole thing down to 2.7.2 Regards |
I'm getting: undefined method `arity' for {:class_name=>"Person", :optional=>true, :foreign_key=>"father_id"}:Hash
I'm using Ruby 3.0.0 and Rails 6.1.1. Followed all the install steps and added indexes, still crashing with said message. The entry point for the error is
has_parents
onperson.rb
.Any ideas?
The text was updated successfully, but these errors were encountered: