When I tried getting a company and its deals through API call like this:
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?
Hey
When I tried getting a company and its deals through API call like this: 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?