Rodauth is a wonderful Ruby gem that helps to handle authentication problems. Let's see how to integrate it into a Rails application.
Posted January 10, 2022 - tagged ruby-on-rails ‐ 8 min read
If you're on the path to learning Ruby then you might have heard of this thing called an 'Enumerator'. As scary as it sounds, Enumerators are actually your friends and will be helping you a lot on your journey to becoming a Ruby *aficionado*. Since they are so important, let's quickly get you up and running within this lesson. We will be going over the what, the why, and the how of Enumeration.
Posted January 6, 2022 - tagged ruby ‐ 7 min read
Form is an old standard from the web, and handling form with Rails is almost as old as Rails itself. But submission tend to be a lot more complex nowadays making the UX and data-flow not so easy to understand, so sometimes it's good to go back to basics
Posted July 18, 2021 - tagged ruby-on-rails ‐ 7 min read
You are probably familiar with the 'if else' control flow but there are certain situations where there may be a visually better way to write these statements. Here we will discuss how you can achieve this via the 'unless' keyword in Ruby and the different ways you can use it.
Posted June 18, 2021 - tagged ruby ‐ 3 min read