Redis Cookbook

Errata for Redis Cookbook

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 7
United States

The Solution paragraph and the first paragraph of the Discussion are identical.

Note from the Author or Editor:
The first paragraph of Discussion should be removed.

Gordon Dickens  Aug 24, 2011 
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 39
"clear" function

The clear method has two errors. It is listed as: def clear(queue_name) $redis.del("queues", "queue#{queue_name}") end The current version deletes both the set and queue hash instead of just clearing the hash, AND names the queue hash incorrectly (missing a :). it should read def clear(queue_name) $redis.del("queue:#{queue_name}") end

Note from the Author or Editor:
As said by the reader, the set shouldn't be deleted and the hash name is wrong. The method should read: def clear(queue_name) $redis.del("queue:#{queue_name}") end

Frédéric G. Marand  Apr 09, 2013