Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Don't raise a TypeError when trying to parse nil as JSON.
Fixes an issue where when some API's return a 204 response for an empty page of a collection endpoint ActiveResource blows up with a TypeError because it's unable to parse the 'nil' response body as JSON.
- Loading branch information