Ruby exceptions are 4400 times faster than ActiveRecord::Base#create

Big thanks to Robert Pankowecki who created the original gist and to Piotr Szotkowski who provided even more data. The gist was originally created as part of our Fearless Refactoring: Rails Controllers bookwhere Ruby exceptions are suggested as one of the possible techniques of the controller communication with service objects.


Ruby exceptions are 4400 times faster than ActiveRecord::Base#create #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

U
Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles