Allow HTML String - Ruby on Rails
Just a quick post on how to prevent escaping for HTML within a string. Simply use html_safe?. i.e. The following will show the bold tags as text: <b>GOOOOOOOGLE</b>…
Read postLet's take a look at what I've broken today
Just a quick post on how to prevent escaping for HTML within a string. Simply use html_safe?. i.e. The following will show the bold tags as text: <b>GOOOOOOOGLE</b>…
Read postThis is a problem that had me confused for an embarrassingly long time. Rails wraps button_to elements within a form and a div. Unfortunately this will take up 100%…
Read post