We’ve recently released valid_data, a gem to check if your data is valid according to your ActiveRecord validations. We modified this library in order to process the data in parallel, leading to drastic performance improvements. This post discusses the approach that we used, and presents benchmarks demonstrating the speed improvement.
Most of the people who work at Stack Builders work out of the office, but there are a few of us, like at many companies, that work out of a home office with trips here and there to the corporate offices. Learn from our experiences in working remotely!
We’ve released one of our first open-source Ruby gems: it’s called valid_data, and you can use it to scan your ActiveRecord models for invalid rows. We use the gem at Stack Builders from time-to-time in order to **UNKNOWN_CHAR** with our datastore and make sure we don’t have validation-related problems in our applications.