all_books.first instead of Book.first if it is the last book