How We Used a Custom Enumerator to Fix a Production Problem
18-May-2024 469
It runs a Microsoft SQL Server query that returns an array of property IDs. In Ruby, arrays implement the Enumerable interface by default, so we can use the rich assortment of Enumerable methods to iterate over them.Other methods from the same class relied on the array returned by customer_property_ids.
How We Used a Custom Enumerator to Fix a Production Problem #ruby #rubydeveloper #rubyonrails #Custom #Enumerator #Production #Problem https://rubyonrails.ba/link/how-we-used-a-custom-enumerator-to-fix-a-production-problem