I execute the query in the bank by the controller and I receive the data in the var when executing each on top of the var returns me an array, I wanted to count how many times the same parameter is repeated to create a counter could help me follow my code.
Rails 3.2, ruby 2.3
results os my query.. from postgresql
#<tickets title: "any text any first register ", updated_at: "2018-01-30 18:38:58", company: 89869>
#<tickets title: "any text any second register ", updated_at: "2018-06-25 20:18:20", company: 99991>
I want to count how many times the same date is repeated regardless of the time to count the number of times that displays the same date.