simple library reservation system written in ruby on rails