I have an application working with two models Gallery and Photo, with each photo belonging to a gallery and gallery having many photos. Everything works correctly except the jQuery uploads. The photos are being uploaded to the gallery however I have to refresh the page in order to see the updates. However, when I check the response code I can see the the update is made on the server end.I have an application working with two models G