title: Polling for changes to database and append new changes to the view in Rails using AJAX
body: <p>I'm having some trouble appending content from the database to the view when new content is added to a specific table. Currently, every number of minutes the database is updated with new content by a cron job.</p>
  
  <p>The goal in the end is to have the page displaying this content being added to the database to display the latest content without refreshing the page. The only way I can think about how this could be done is with AJAX. I have looked into Railscast 229 where they talk about how to do this but it wasn't making a lot of sense.</p>
  
  <p>If seeing code samples will help then I can provide some of that as well.</p>
  
  <p>Thanks in advance!  </p>