-
Using Action Mailbox in Rails 6 to Receive Mail
Sending mail from a Rails application has been covered by hundreds or thousands of articles, however, there is not a ton of articles about receiving, p.
-
Building a Toy Lexer in Ruby
Lexers are magical. They take your messy, hand-typed, human text, and convert it into a clean data structure that the computer can process. Every time .
-
Rails 6.1 adds support for where with a comparison operator
Rails 6.1 adds support to comparison operator in the where clause. The four comparison operators supported are:Greater than (>).Greater than equal to (.
-
Defining gem dependencies in single file Ruby scripts
Sometimes I come across cases where I need to write a simple script which uses a gem. The simplest way to go about this is to gem install gem-name and .
-
Generating Melodies With Markov Chains In Ruby
A Markov Chain is essentially a finite state machine that we can get to generate output based on probability from previous input. It’s probably one of .
-
Removing SHA1 passwords from RubyGems.org
When the RubyGems.org Rails app was created in 2009, the “standard” way to store passwords was to use the SHA1 hashing algorithm. While there were limi.
-
Fastest Json parser for Ruby, wrapper for simdjson
Fastest Json parser for RubyRuby wrapper for simdjson (Parsing gigabytes of JSON per second)The simdjson library uses commonly available SIMD instructi.
-
Introduction to Simple Workflow Service (SWF)
In this post I’m going to explore Simple Workflow Service (SWF) available in AWS.A workflow consists of an orchestrated and repeatable pattern of activ.
-
Clean your Rails routes: grouping
In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.You add more and more routes in this file as your.
-
Five common issues with services and dry-monads
Today I found the source code of a simple test task in GitHub. The code author used dry-monads, services, and other abstractions. I found some issues i.