sqlite gem mistake