flyerhzm/simple_cacheable — pull request #8 by ScotterC (2012-12-03 05:14:11+00:00)
Title: added functionality to find all by an attribute

Added to the with_attribute method a second set of methods so that you can do find_cached_all_by_attribute. A better name might be find_all_cached_by_attribute but you seem to be keeping it consistent to always start with find_cached.

Also wrote in specs to test it and found that the with_attribute methods didn't like using fix numbers as cache keys - converting them to strings before the URI escape fixed that.