Introduction to Rails transactions
Transactions are an essential part of the Rails framework. Even if you are not using them directly, Rails is doing […]
Transactions are an essential part of the Rails framework. Even if you are not using them directly, Rails is doing […]
You can easily take down your database with not properly designed transaction When you wrap the code inside the transaction […]
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 […]