Archive for the ‘Ruby’ Category

asset_packager with cache buster & asset_hosts

While working on some front end optimizations for a venture of mine I went on the lookout for a better bundling strategy then that provided with the default rails stack.
While rails does provide bundling of CSS and Javascript it does not support minification. Which in my opinion is a huge win for site performance, and [...]

Rake Spec Errors

I noticed a couple of days ago there are some unexplained errors when running rake spec with the rspec rails gem. That appear to have been there for a while. 3/07/2009
when running script/generate rspec new rake tasks are placed in lib/tasks/rspec.rake
if you open this file you will see that line 101 is the offending line
::STATS_DIRECTORIES [...]

Metric_Fu and Git Unite!

For those that have not used metric_fu (http://metric-fu.rubyforge.org/) its a great project by Jake Scruggs (http://jakescruggs.blogspot.com/) that merges many different ruby projects for measuring code performance, into one bundle of rake tasks and generates html reports. Up until now its churn feature (which shows you which of your files have been modified the most in [...]