Database create record from resque thread works