22 May 2023
AI & Ruby: an introduction to neural networks
This article aims to demystify AI applications, delve into Machine Learning (ML) through the creation of a basic Artificial Neural Network (ANN) in Ruby, and shed light on the ever-present GPT phenomenon.
22 May 2023
How to Create Custom Flash Types in Rails
In this post, we'll learn how to use it and also how it's implemented behind the scenes. In the process, we'll also learn a few metaprogramming tricks in Ruby.
22 May 2023
Exploring Probabilistic Algorithms with Ruby
In this article, we will delve into the world of probabilistic algorithms using the Ruby programming language.
22 May 2023
Hotwire and Turbo in Rails 7
In this blog, the author will go through Hotwire and Turbo in Rails 7, and take a closer look at how they can be used to build fast, responsive web applications.
22 May 2023
Concerns in Rails: Everything You Need to Know
This post explains what concerns are, how they work, and how & when you should use them to simplify your code, with practical, real-world examples.
22 May 2023
Integrating Google OAuth2 with Devise for a Ruby on Rails Application
In this article, the author is going to walk you through a step-by-step guide on how to set up Google OAuth2 with Devise on a Rails application, also incorporating exception handling to make your app robust and reliable.
22 May 2023
How to Fix Rails 6.1 Relation merge Deprecation
In this article, we will talk about the expected behavior of merge, how it has changed and what to do in order to use the new behavior if you find yourself looking at this deprecation.
19 May 2023
Rails 7.1 adds support for responsive images
Rails 7.1 has added support for picture_tag. It is useful if we want to add responsive images to our rails app.
18 May 2023
DIY error monitoring for Ruby
This article will teach you how to monitor Ruby errors. Learn about Ruby's built-in errors, how to use log levels and tagging to customize the log output, display errors on the front-end, and more.
17 May 2023
Advanced techniques for calling HTTP APIs in Ruby
How to use Faraday and other gems to implement circuit breakers, gracefully handle API rate limits, pool connections for better performance, and more. This post covers several advanced topics related to making HTTP API calls in Ruby.
17 May 2023
From Ruby to Crystal? Writing and distributing a CLI tool
In this post, the author will share his experience writing a CLI tool in Crystal that parses coverage files and sends the parsed data to Coveralls, and distributing it as a static binary and Homebrew tap.
17 May 2023
Manage Your Ruby Logs Like a Pro
In this article, we'll explore: The importance of logging; How to use Ruby's inbuilt logging utilities — puts and Logger; Log levels and their differences; Customizing your logs using JSON; Integrating a logging library, using Lograge as an example
16 May 2023
Ruby Method Lookup Demystified: Inheritance, Mixins, and Super
Discover how method lookup works in Ruby, including inheritance, mixins using include, prepend, and extend, and the super method.
11 May 2023
Deploying a Ruby on Rails App on Render.com with a Database, Redis, Sidekiq, and Cron Jobs
In this blog post, the authir will walk you through his journey of deploying a Rails app on Render with a database, Redis for caching and background jobs, Sidekiq for background job processing, and Cron jobs for running scheduled tasks.
11 May 2023
4 Essential Security Tools to Level Up Your Rails Security
In this blog post, we will cover a few Ruby gems and best practices that you can use to stay on top of your security, reliability, and stability needs.
11 May 2023
Simple Rails Design Patterns with Significant Impact
In this post, the author shows Small Rails design patterns with Significant Impact.
11 May 2023
Did You Know that You Can Catch and Throw Stuff in Ruby?
This post shows how `throw-catch` works in Ruby with practical, real-world examples, including their usage by the Warden gem.
10 May 2023
Enumerating Combinations with Ruby Arrays
Ruby arrays offer a rich set of behaviours to help you solve a wide variety of problems. In this post we look two different ways of evaluating available combinations from any array-of-arrays.
6 May 2023
Refactor Ruby On Rails Application in 5 Steps
This article will guide you through the process of refactoring a Ruby on Rails application, although these steps can be applied to any language/framework.
5 May 2023
Integrate and Troubleshoot Inbound Emails with Action Mailbox in Rails
In this post, we'll dive into how you can use Action Mailbox to integrate and troubleshoot inbound emails.
4 May 2023
Polymorphic Associations in Rails: Why, What, and How
Polymorphic associations in Rails allow a single model to belong to multiple models. This article covers them in-depth. We'll start with understanding the concept of polymorphism, learn what a polymorphic association is, why we need them, how they work, and how to use them in your Rails application.
3 May 2023
Ruby News April 2023 Digest
Ruby News April 2023 Digest
27 April 2023
Reduce load times of Rails applications using CloudFront CDN
Delivering static assets and JavaScript files with CDN can significantly improve the performance of our Rails application, resulting in faster load times and a better user experience.
27 April 2023
Update millions of records in Rails
How to update half a billion entries on a PostgreSQL table with Ruby on Rails & Sidekiq.