You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ You can define a reusable ERB partial directly in your view:
22
22
<%= render_inline_partial :foo %>
23
23
```
24
24
25
-
This example defines a partial template named `user_row`. In this way, you can define partial templates with **any name**.
25
+
This example defines a partial template named `:user_row`. You can define inline partials with **any name**, using either a **symbol** or a **string**.
0 commit comments