title: Ruby on Rails + jQuery how to automatically update a live site with new images added to a folder?
body: <p>I have a series of images that appear in a folder online that i can read and access in Ruby on Rails. </p>
  
  <p>Here's what I want to happen: as images are added to that folder, i would like a live website to automatically load the new images and have them appear on the page with having to hit refresh (or refreshing the whole page, as i don't want to interrupt the ux since people will be using this page while it's also updating) The functionality i am looking for is sort of similar to the "auto load new posts while scrolling" i've seen on a few sites, like facebook. </p>
  
  <p>I'm thinking i'll need to use ajax to run a server-side page that will grab the new images and return them to the visible div via JSON or something, right? I cant do this with only jQuery?</p>
  
  <p>I'm fairly new to RoR, but i've working with PHP on and off for forever.</p>
  
  <p>Any insight is greatly appreciated and i'll vote up any input that helps me.</p>
  
  <p>Thanks in advance!  </p>