![Creating Bulletproof Validations in Ruby on Rails with Custom Validators [Part III]](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fstock%2Funsplash%2FW2pFr3MSYkA%2Fupload%2F98436497cf39a19b7a16b82657c9df09.jpeg&w=3840&q=75)
Creating Bulletproof Validations in Ruby on Rails with Custom Validators [Part III]
Implementation
Search for a command to run...
![Creating Bulletproof Validations in Ruby on Rails with Custom Validators [Part III]](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fstock%2Funsplash%2FW2pFr3MSYkA%2Fupload%2F98436497cf39a19b7a16b82657c9df09.jpeg&w=3840&q=75)
Implementation

Components Introduction In order to truly understand props in React, we first need to be clear on what components are. A component is a reusable piece of the user interface that encapsulates structure, styling, and behavior. Instead of repeating the ...

Introduction Context By default, Codespace is using the GITHUB_TOKEN env var (the “Codespaces token”), which can’t create repos. It’s necessary to authenticate gh with a token/account that has the right scopes, or create the repo on the web first. Ob...

Solution Here it is: git commit --allow-empty-message -m "" Explanation To create a Git commit without a message, or with an empty message, you can use the --allow-empty-message flag with the git commit command. git commit --allow-empty-message -m "...

Steps Cleanup phase This phase’s goal is to removes existing containers, volumes, networks and images Stop and remove volumes docker compose down --volumes --remove-orphans The previous command stops and removes containers, networks, and default volu...

Steps Stop the service It’s not mandatory, but before uninstalling, it's a good practice to stop any running Docker services. sudo systemctl stop docker Remove docker packages It’s used to completely and forcefully remove a list of specified packag...

Functions are one of the most important concepts in JavaScript. They allow us to organize code, avoid repetition, and make programs easier to maintain. Introduction What’s a Function? A function is a block of code designed to perform a specific task...

Introduction Flameshot Flameshop is a powerful yet simple to use screenshot software. Features Customizable appearance; Easy to use. In-app screenshot editing. DBus interface. More features Pre-installation Check your OS (optional) This ste...

Solution Check your OS (optional) This step is just to make sure you have Pop!_OS installed. uname -a hostnamectl lsb_release -a cat /etc/os-release Output Update packages info sudo apt-get update Running sudo apt-get update is an important step ...