Counting things in Active Record
29-Oct-2020 1916
Seemingly it may seem that counting records in the database with ActiveRecord is straightforward. In reality, it looks more complex as .count, .size, and .length methods are not working the same way. The lack of knowledge about their behavior may lead to performance problems.
Counting things in Active Record #ruby #rubydeveloper #rubyonrails #Counting #things #Active #Record #active #record https://rubyonrails.ba/link/counting-things-in-active-record