In case you’re wondering with it’s :controller => "weblog" and not just "controller" => "weblog", you want to read Kevin Clark’s Understanding Ruby Symbols. It gives a number of angles on why symbols exist and why they make sense to use.
:controller => "weblog"
"controller" => "weblog"