title: How to write a rails query that returns the count by Month?
body: <p>take a standard NewsFeed model (id,user_id)</p>
  
  <p>How can I query for the # of records per month in the NewsFeed model, and then exclude a few user_id's?</p>
  
  <p><strong>Results would yield:</strong></p>
  
  <pre><code>Jan - 313
  Feb - 3131
  Mar - 44444
  etc...
  </code></pre>
  
  <p>Is there a simple way to do this with rails or do you need to write a query for each month?</p>
  
  <p>Thanks</p>