When sending a WMS request to the Rails Controller (like the example) I get the following exception:
uninitialized constant TileCache::Layer::ConfigParser
in lib/tile_cache/layer.rb:43
Installing the config_parser gem did not help. I am testing on Rails 3, so maybe this is an issue?