Remove duplication when checking balance via rake #44