Today, we will learn about boolean and nil values in Ruby on Rails. Lets start with what these are. What is a boolean? A boolean value is used to...
Master Slave/DB replication As the name suggests, master-slave is a concept where there is one master and multiple slaves. The concept of master slave...
What is Delegate Delegate by the document, which refers to a class method used to easily expose contained objects' public methods as your own. Simply,...
Synchronous Communication Synchronous communication means data or information is shared between the services in real time. When you're communicating...
Use ‘each’ instead of ‘for’ for elem in [1, 2, 3, 4, 5] puts elem end [1, 2, 3, 4, 5].each { |elem| puts elem } Use ‘Case/when’ conditions instead...
1. Ruby on Rails is full-stack Ruby on Rails covers both the front end and the backend so developers can build an entire web application without...