* fix apidoc * add new custom validation * add ruby tests * add frontend error * take out the ternary