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

On rails 5.1 when trying to call an association there's a ArgumentError: wrong number of arguments #13

Open
santostiago opened this issue Apr 10, 2017 · 0 comments

Comments

@santostiago
Copy link

I have a class Category that has many subcategories that has many subcategories_datasets through datasets.

The class datasetis the only Active Model one, while the others inherit from Active Record.

When I do category.subcategories or subcategory.category I get a ArgumentError.

Rails 5 has made some validations changes to the Active Model, and some methods now have a different number of arguments. Can you please check this? Thanks

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

No branches or pull requests

1 participant