paint-brush
Painlessly managing long running processes in your views using Ruby on Railsby@undergroundpost
2,220 reads
2,220 reads

Painlessly managing long running processes in your views using Ruby on Rails

by Eran Peer4mJuly 23rd, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

There is currently no convenient or “<a href="https://hackernoon.com/tagged/natural" target="_blank">natural</a>” way to transfer information directly from the backend to your views in <a href="https://hackernoon.com/tagged/ruby" target="_blank">Ruby</a> on Rails. This is particularly inconvenient when trying to transfer information about the progress of a long running process within the backend (such as the processing of an image). It is possible to simply use JavaScript to make XHR/fetch requests every couple of seconds/minutes to request updated information, but it is more of a workaround than an actual solution.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Painlessly managing long running processes in your views using Ruby on Rails
Eran Peer HackerNoon profile picture
Eran Peer

Eran Peer

@undergroundpost

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite