What is the best way for a browser to receive new records entered into a Rails DB, without having to refresh the page?
Example
I have a website with Rails as the backend.
On one page, I show a post. It has comments and upvotes.
Whenever a new comment or upvote is created, I want the browser to receive it in near real time and render it on to the page.
If it matters, my front-end is done in AngularJS.