Reputation: 26789
Where can I find the documentation for Rails template/layout tags? I'd like to find a complete list of the tags I can use.
Bonus points if the documentation is available for 2.3.X
Upvotes: 1
Views: 509
Reputation: 84182
<% if, <% else and so on aren't tags that rails defines.
Instead erb allows you to use <% and <%= to embed arbitrary ruby code into the templates
Upvotes: 1