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

Faster Rails: How to Check if a Record Exists


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.