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

v0.2.0 fail to resolve with Activerecord 7.1.X #25

Open
noxasch opened this issue Feb 6, 2024 · 1 comment · May be fixed by #26
Open

v0.2.0 fail to resolve with Activerecord 7.1.X #25

noxasch opened this issue Feb 6, 2024 · 1 comment · May be fixed by #26

Comments

@noxasch
Copy link

noxasch commented Feb 6, 2024

Ruby: 3.2.2
Rails: 7.1.3
act_as_hash_ids: 0.1.3

When relation have has_many relation it will throw this error, suspecting this have to do with Ruby 3

Failure/Error: has_many :users

NoMethodError:
  undefined method `arity' for {:extend=>[ActsAsHashids::Core::FinderMethods]}:Hash
@noxasch noxasch changed the title Undefined method `arity' on Ruby 3.2 and Rails 7.1 v0.2.0 fail to resolve with Activerecord Feb 6, 2024
@noxasch noxasch changed the title v0.2.0 fail to resolve with Activerecord v0.2.0 fail to resolve with Activerecord 7.1.X Feb 6, 2024
@noxasch
Copy link
Author

noxasch commented Feb 6, 2024

After using the latest tag from github, it seems it fail to work due to runtime_dependency which is aactiverecord only accept version less than 7.1 which conflicting with Rails 7.1.X.

@noxasch noxasch linked a pull request Feb 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant