Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<%= yield(:title_box) if content_for?(:title_box) %>
还是 if 条件在这里没用?
不需要条件检查,就好像什么都没有渲染一样,什么都不会输出。查看文档