Fixed some of the rails end of the drawing app