Scott Watermasysk Husband, Father, Bootstrapper, Developer, Keyboarder, Pained Sixers Fan.

Faster Rails: How to Check if a Record Exists

Published:

ActiveRecord specific helpers will almost always do better than ActiveSupport helpers.

What makes this even more tricky is that when you initially write something, you may not have much data to test against.

👉 https://semaphoreci.com/blog/2017/03/14/faster-rails-how-to-check-if-a-record-exists.html