Crud rails for an online library