Tutorials
Managing Multiple Users: Single Table Inheritance and Role-Based Authorization in Rails - DEV Community
One of the things about web development that keeps me coming back for more is the fact that there are so many different ways to solve a single problem. (This is also something about web development that I find incredibly overwhelming depending on ...
Setting an Actions secret with Octokit.rb - Ruby Example
There you go, I hope that saved you some time.If you have issues with the Octokit gem, I recommend going to their repo and looking at the source. I have found the docs are occasionally out of date with the latest release.These docs are useful to l...
A Ruby gem to simplify using Slack Block Kit | Rails and beyond
I put together slack_layout, a Ruby gem that makes building Slack’s Block Kit layouts easy while keeping everything organized.Any method like the one above should catch your eye. The blocks stuff seemed to be something particular from Slack. Indee...
Logging in Ruby: (Almost) Everything You Need to Know
This post provides an in-depth overview of logging in Ruby, one of those topics that seems totally unnecessary until something goes wrong.It's very easy to find and fix bugs when you're in the development mode. You have the terminal open with the ...
Integrate Replicate in Rails Application | Saeloun Blog
With Replicate, we can run machine learning models in the cloud without the need to set up our own infrastructure or have in-depth knowledge about machine learning. Replicate allows us to run both public and private models.Let’s understand some te...
Understanding Transaction Isolation Levels in Rails with Simple Examples - DEV Community
In this article, we will discuss the usage of database transactions in a Rails application, with a particular focus on one of the ACID principles - Isolation - and its four levels. We will explore what these isolation levels are, why they are nece...