睡月花儿

  • Home
  • About
  • coding
  • Tags86
  • Categories7
  • Posts870
  • Sitemap
  • Commonweal 404
  • Search
  • Table of Contents
  • Overview
戛戛Happy

戛戛Happy

后端, 操作系统, 互联网, 程序开发, Linux, 数据库, MySql, Golang, Ruby
RSS
Creative Commons

render partial

Posted on 2010-02-15 In Rails , Ruby

Renders the same partial with a local variable.
render :partial => “person”, :locals => { :name => “david” }

  • Post author: 戛戛Happy
  • Post link: https://blog.gagahappy.cn/render-partial/
  • Copyright Notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally.
后端
酱蒸排骨(转载)
validates_inclusion_of
京ICP备10044755号
© 2009 – 2024 戛戛Happy
Powered by Hexo & NexT.Gemini