Tutorials

Reading the uncompressed GZIP file size in Ruby without decompression - Closer to Code
There are cases where you have a compressed GZIP file for which you want to determine the uncompressed data size without having to extract it.For example, if you work with large text-based documents, you can either display their content directly i...

TIL: Queuing Sidekiq workers safely with the help of Isolator
Listening to a recent episode of the thoughtbot podcast, The Bike Shed, one of the hosts talked about a couple of gems that they'd come across that seemed pretty handy to me.The first is isolator, a gem by the folks over at Evil Martians that dete...


Setup Bulma CSS framework in your Rails application
In this tutorial, I will show you how to setup the CSS framework Bulma in a Rails applicationPrerequisitesRails 6.xCreate new rails projectGo to your terminal and execute rails new bulma-test. You can read the guide to Starting your Rails project ...

Using RequestStore with asynchronous I/O in Rails apps
Did you know it’s possible to write Rails apps using non-blocking, asynchronous I/O, the way Node apps work? Your app handles each web request in a fiber. Whenever that fiber fires off a blocking operation like a network call, it can yield the cur...

Monster Code: An application made with React, Ruby, SQLite, Sinatra and Active Record
In this blog one can get a more in depth analysis of the application my team made for our phase 3 project in the Flatiron School's software engineering bootcamp. React was used for the front end while Ruby, Active Record, Sinatra, and SQLite were ...

How to auto-generate OpenAPI docs for Django, Flask, Spring and Rails apps
The OpenAPI Specification (also/previously called Swagger) helps developers model, document, implement and test web applications and services APIs. It’s a wonderful thing! And unsurprisingly, it’s embraced by dev teams and documentation communitie...

