You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: