trying rails for a pretty basic digital book viewer