I have two pieces of code in my view:
<%= sanitize('<h3>winter</h3>') %>
<%= '<h3>winter</h3>'.html_safe %>
And they both seem to result in encoding html tags in a string provided. What is the difference between them and when should I use either?