If I have an .html.erb
file that looks like this:
<html>
<head>
<title>Test</title>
</head>
<body>
<%= @name %>
</body>
</html>
How can I generate an HTML file that looks like this?
<html>
<head>
<title>Test</title>
</head>
<body>
John
</body>
</html>
How can I execute the template (passing the name parameter) given that the format is .html.erb and be able to get just an .html file?