下面是API定义渲染:什么是当地人在轨道渲染?
render(options = {}, locals = {}, &block)
Returns the result of a render that’s dictated by the options hash. The primary options are:
:partial - See ActionView::Partials.
:file - Renders an explicit template file (this used to be the old default), add :locals to pass in those.
:inline - Renders an inline template similar to how it’s done in the controller.
:text - Renders the text passed in out.
没有关于什么是当地人在这里的目的解释?什么是当地人?
谢谢。
伟大的答案为好。谢谢。 – user938363 2012-01-08 17:03:13