content_for head tag doesn't work (ruby on rails) -


<% content_for :head %>   <%= javascript_include_tag "http://code.jquery.com/jquery-latest.min.js" %> <% end %> 

it doesn't work.

how insert html head tag?

thanks.

do have <%= yield :head %> inside <head> tag (probably in layouts/application.html.erb)? no? add :).


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -