DEV Community

Discussion on: August 6th, 2020: What did you learn this week?

bengreenberg profile image
Ben Greenberg

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!

nickytonline profile image
Nick Taylor (he/him) Author

That's awesome! 🔥

Yes, that's awesome!