title: When using databasedotcom ruby gem to access salesforce, how do I get the ActivityHistory for a particular User (or Account)
body: <p>For most sobjects, they support queries such as find_by_... etc. However,</p>
  
  <pre><code>client.materialize("ActivityHistory")
  </code></pre>
  
  <p>returns a class that does not support query.
  When I try to run ActivityHistory.query("anything")</p>
  
  <p>I get...</p>
  
  <p>Databasedotcom::SalesForceError: entity type ActivityHistory does not support query</p>
  
  <p>I'm trying to extract the ActivityHistory for the last 30 days, and find out the account it lies in, and the user that created it.</p>
  
  <p>Help, please!</p>