find_by_key is NOT equivalent to find. You need to use find_by_key! to get the same behaviour - this is really important so we are not returning nil values.