There are plenty more quotations for your lifestyle at the kind host of Science: www.misuse.org
Split and Join: Using Ruby arrays and CSV files as databases 5
If you mess around with CSV or other text delimited files and you use Ruby, you should know all about String::split and Array::join. If you don’t, here’s a quick primer. Split allows you to break up a string into elements of an array based on a delimiter (it returns an array). Join will merge an array into a single string, using a delimiter to separate the array elements. Continue reading…
Determing File Paths for Action Caching in Rails
I just spent some “quality time” figuring out how to programatically determine the location of an action cache file in Rails. “cache_action” is a great tool and when applied properly can really save cpu. To find the file locations for this cache you could clearly hack your way in, but it’s harder than with page caches, because the *machine name* is included in path. Hassles!

