As it’s a tradition, we got a new Ruby version on Christmas. This time we are getting pattern matching, a feature highly praised in other languages. After spending some time with Elixir last year I was curious how does Ruby’s pattern matching feel in the Ruby world and indeed how does it compare to Elixir’s?
Here are some notes on WebSockets-based Absinthe GraphQL subscriptions. A basic setup and familiarity with regular queries and mutations is assumed.
You can make a single executable from your gem or even a Rails application. I just tried ruby-packer and it works as promised.
InvoicePrinter is intentionally small and straight-forward library, command line client, and server to make PDF invoices in no time. Version 2.0 includes buyer/seller boxes simplification, decoupling server from the library, offering sample TTY fonts as an add-on and official Docker support.
A short post on using assert_error_sent to test custom error responses on status code, response headers, and body. And when it doesn’t work.