title: Rails nested html helper
body: <p>I'm creating a helper in my rails app where I create a navigation link.
  Now I want to add an caret to this link so I can get a nice arrow at the end.</p>
  
  <p>My html should look like this:</p>
  
  <pre><code>&lt;li class='dropdown'&gt;
     &lt;a class='dropdown-toggle' data-toggle='dropdown' href='#'
         Dropdown
         &lt;b class='caret'&gt;&lt;/b&gt;
     &lt;/a&gt;
  </code></pre>
  
  <p>Now I got my helpers setup like this:</p>
  
  <pre><code>  content_tag(:li, class: 'active dropdown') do
      link_to( text, link, class: 'dropdown-toggle' ) do
        content_tag(:b, class: 'caret')
      end
    end
  </code></pre>
  
  <p>But when I do this I got this error message:</p>
  
  <pre><code>undefined method `stringify_keys' for "/":String
  </code></pre>
  
  <p>I also want to add some item to my dropdown so I need to nested some more but I don't know how. Is there anybody who could help me and point me in the right direction?</p>
  
  <p>Thanks!</p>