




























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.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。