update to Rails 3.1 routing DSL and rdoc/task