Under the hood of the includes method in Rails
The way the includes method work in Active Record is one of the most common questions during interviews, yet many […]
The way the includes method work in Active Record is one of the most common questions during interviews, yet many […]
Checking for presence I would risk writing that the most popular Rails’ methods are present? and blank?. Along with .presence, they are used to […]
Transactions are an essential part of the Rails framework. Even if you are not using them directly, Rails is doing […]
Advantages of using design patterns An appropriate approach to using design patterns brings a lot of essential benefits to the […]
The count method Ruby implements its own count method, which counts the number of elements in the given array. However, ActiveRecord::Relation class implements its own implementation […]