When running with a relative URL, this blows up for me:

<pre>
ActionView::Template::Error (no implicit conversion of true into String):
  app/services/menu/item.rb:46:in `start_with?'
  app/services/menu/item.rb:46:in `add_relative_path'
  app/services/menu/item.rb:24:in `url'
</pre>

I suspect you need brackets for `end_with?('/')` due to precedence.