以下是对于使用
什么是正确的方式?
-
和 =
的区别:
-
表示删除一个键值对,而 =
表示设置或更改一个键的值。- content_for :header do
%h1 Title
并且
= content_for :header do
%h1 Title
什么是正确的方式?