loading...

re: August 6th, 2020: What did you learn this week? VIEW POST

FULL DISCUSSION
 

This week was an adventure in figuring out how to spin separate non-blocking processes in a Rails app.

During our semi-regular company time to build fun stuff, I wanted to build a Facebook chatbot that generated banners with random color palettes and the text provided. Sounded easy enough, but the utility I wanted to build with, Ruby2D, opens up a new console window to make the image, which was crashing Rails every time.

Eventually, figured out how to integrate with Sidekiq to make it a separate asynchronous job, and that did the trick! Had never really done that before, so it was a fun learning adventure!

github.com/nexmo-community/faceboo...

 

That's awesome! 🔥

Yes, that's awesome!

Code of Conduct Report abuse