db error w secretary rails