Rebuilding Rails Chapter 1
Build your own framework on RUBY!

Search for a command to run...
Build your own framework on RUBY!

Series for software practice with dotnet, blazor app and angular

Today I am writing about ways to use Pry. Pry is IRB with incredible advantages. It let us research or investigate on the objects and classes we use. To start with pry we need to install it on our system. gem install pry gem install pry-doc gem inst...

Simply in Ruby or any other language, Strings is a sequence of one or more characters. It can consist of numbers, letters, or symbols. Let's learn to put a string together. It's common that we want to combine strings into a larger sentence. For Eg: y...
We use exceptions to handle unexpected failures inside a program. Exceptions are in the form of a program crash with an error message. In Ruby, Exceptions are implemented as classes inherited from the Exception class used to signal an error condition...
Safe Navigation Operator (&.) &., is called "safe navigation operator", as it allows to skip method call when the receiver is nil. It returns nil and doesn't evaluate the method's arguments if the call is skipped. &., this operator is intended to sho...
Case Equality (===) Also known as triple equals. Mainly in ruby, every time we go through this tripe equals, we think of comparing the value but as a result, we don't get the expected result. So the main purpose of this operator is, it does not test ...
When we need to update huge data by adding a rails Migrations or a rake/Thor task. We should worry about the PostgreSQL locks. Every time when we work with the production data for updating, there is always a risk of locking the database. By locking t...