Question : embedded ruby tag
Answered by : dhyani16
#The tag when we dont want the text to be shown on the screen (example: loops, if-else statements etc.)
<% writeAnyCodeHere %>
#When we want to show the content of the tag on the screen
<%= writeAnyCodeThatYouWantToDisplay %>
Source : | Last Update : Sun, 09 May 21