jquery/javascripts not loading in ruby on rails

Posted by Marco A on Stack Overflow See other posts from Stack Overflow or by Marco A
Published on 2012-03-29T05:17:27Z Indexed on 2012/03/29 5:29 UTC
Read the original article Hit count: 160

Filed under:
|
|

I am having a very weird problem that just came up and my guess it's that it may be easy to solve, I just can't seem to figure out.

in my layout/application.html.haml, I have the following:

= javascript_include_tag :all

Rather than RoR translating this to a lot of script-loading lines, it does the following:

<script src="/beta/assets/all.js" type="text/javascript"></script>

similarly, with defaults I get:

<script src="/beta/assets/defaults.js" type="text/javascript"></script>

What should I look for? or what I am missing?

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery