Add validation to 'book.rb'