Prevent silent failures on blank `.find` parameters
masterBy default, JsonApiClient::Resource.find(id) returns an array. If id is blank (nil or empty string), the client attempts to call the INDEX endpoint (e.g., /users/) instead of the SHOW endpoint. This can result in silently returning the first available resource from the index. To ensure a JsonApiClient::Errors::NotFound is raised instead, set raise_on_blank_find_param = true in your base resource class.
class Resource < JsonApiClient::Resource
self.raise_on_blank_find_param = true
end