Ruby is a multi-platform open-source, dynamic object-oriented interpreted language.

ruby rubyonrails

GitHub Action Hero - Daniel Dennis

GitHub Actions gives you the power to automate your workflow. Connect with the tools you know and love. Have more freedom to innovate and be creative. Deploy to any cloud, build containers, automate messages, and lots more. It’s time to take control. There’s lots of amazing Actions built every day. We spoke to some of the coolest developers building the latest workflows and automations.

How Benchmarking Your Code Will Improve Your Ruby Skills

Learning to code is a path full of struggles, and learning Ruby isn't the exception. But you'll agree with me, that practice is the best way to learn and develop your skills.

Creating an API in Rails with 7 Steps

Creating a basic API with Ruby on Rails is a quick and simple process. So let’s dive in!

How to pass Flatiron School’s Software Engineering Technical Interview

I’ve been a part of the Flatiron community for almost two years now, first as a student, then as a Software Engineering coach at the Brooklyn campus, and now as a Technical Interview Coach for both Software Engineering and Cyber Security Analytics

Comparing Crystal’s concurrency with that of Go (Part II)

In the first part of this article series, I focused on comparing Crystal and Go’s concurrency from Communicating Sequential Processes (CSP) perspective. This second part is to fill in the gap and cover more traditional Shared Memory Multithreading. I make the assumption that you are somewhat familiar with the concepts of multiple threads, critical region, mutual exclusion, and lock/unlock to ensure mutual exclusion.

Comparing Crystal’s concurrency with that of Go (Part I)

In my previous article on Crystal Programming Language titled — “A First Look at Crystal Programming Language and its Ecosystem”, I wrote about my first experience with Crystal language and its ecosystem. Since then I tried to delve a bit more in Crystal’s syntax and semantics. Having already familiar with Go, I wanted to compare concurrency support in Crystal and Go by converting some Go programs into Crystal.

Introduction to Rack middleware

What is Rack and how can we use it?. Being on the beautiful journey that is Software Development, and working as a Rails Developer, I often get curious about the different building blocks of this beautiful framework. Whenever I get time I like to go deep on one of these subjects, read about it and try to understand them, how to use them, and leverage that knowledge into producing better apps.

Live Updates in Ruby on Rails with ActionCable Feature

There are times when one as a Ruby on Rails developer wants to implement a real-time feature, like a chat application, and after digging a bit you find a framework's feature named ActionCable, sounds new and scary, right? Fear not, I'll try to explain it as simple as possible so that at the end of this article you'll feel comfortable with the subject.

Django Vs Ruby on Rails: Which One to Choose? And When? - Solace Infotech Pvt Ltd

Selecting the best technology is an important step for web development as it decides how your website and app will perform. There are a lot of web development frameworks and technologies available in the market and hence many entrepreneurs and freelancers get confused to choose the best from a large

How to Set Up a Ruby on Rails GraphQL API

In this tutorial, you will build a GraphQL-powered Ruby on Rails API for taking notes. When you are finished, you will be able to create and view notes from the API using GraphQL.

How to Build an API with Ruby on Rails

Some may feel that using Ruby on Rails as an API is a bit of an overkill. If you are working on a super simple API that may be true but who doesn’t want to take advantage of how easy it is to get up and running with rails. There are many great articles out there on this same subject but I wanted to go a bit further than just creating it and connecting a database.

How to Install Ruby on Ubuntu 20.04

How to Install Ruby Ubuntu 20.04 Linux system. Installing Ruby on Ubuntu 20.04. Two ways to install ruby from apt repository and RVM on Ubuntu 20.04.

Algorithms: Calculating Combination with Ruby

I studied philosophy and taught courses on Symbolic Logic. I can talk about deductive proofs for days, but when people pull out a f of n’s… x²… [insert Greek letter].

An Introduction to and Ruby Client

Full code at

Ruby Closures for Dummies

a concise guide in plain English. Blocks, procs, lambdas, and methods available in Ruby are collectively called closures.

Sort Array By Parity Problem

Inthis post, I will walk through how I solved the “Sort Array By Parity” problem on LeetCode. Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. Explained Two Approaches in JavaScript and Ruby

Active Record Validations

When I was first learning Ruby, I used a variety of if/else statements to “validate” user input and prevent breakage in my CLI applications. I’m sure you can understand this was not the most efficient way to go about safeguarding your code — though it was prior to learning the ultra-powerful, time and energy-saving, omniscient Active Record. In this post, I’m going to outline the importance of using validations and some of my most used Active Record Validations helpers.

Sideroo: Declarative & auditable key management Ruby gem for Redis

Declarative, intuitive, auditable, and object-oriented. Redis is one of the most popular in-memory data structure servers, often used as a database, a cache, and a message broker. The popularity is thanks to its enormous versatility and the wide variety of use cases it enables. Working with Redis in Ruby is amazingly simple to start. After setting up a Redis instance, you add redis gem, write a short piece of code, then here we go.

How to Install RSpec in Your Ruby on Rails Backend

Installing RSpec made simple. When you’re a junior developer and you’re starting to test for the first time, the most difficult part is deciding on a testing library and getting it up and running. Once you pick a library and get it installed, it really isn’t difficult to start testing your entire application — most testing libraries are fairly easy to get the hang of.

Remove Adjacent Duplicates Problem

Solved in JavaScript and Ruby using Stack. Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make duplicate removals on S until we no longer can. Return the final string after all such duplicate removals have been made. It is guaranteed the answer is unique.