rails render partial not render javascript code example Example: render partial rails <%= render "shared/menu" %>