rails backend for the grubpolis application