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

Associations are broken / don't work as per documentation #358

Open
krzypio-jv opened this issue Nov 29, 2024 · 0 comments
Open

Associations are broken / don't work as per documentation #358

krzypio-jv opened this issue Nov 29, 2024 · 0 comments

Comments

@krzypio-jv
Copy link

Hey

When I tried getting a company and its deals through API call like this:
image
It works, the docs return a response with deals collection in the company object as expected.

When copying the cURL and running it locally - it works, they are returned.

However, copying THE EXACT SAME ruby code and pasting this in the console returns the company without the deals associated.

Both the docs and the gem seem to be using v3, and I would expect that the docs actually execute real code? Or is it just mocked and the docs assume that the code they show works?

I stepped through the gem code and the associations are in the request correctly, but they are nowhere to be seen in the response? How come? Why is the code in the docs working, but the actual gem is clearly broken when executing the same code as per documentation?

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