title: Why does my drop down-menu work on my local server but not when I push to heroku?
body: <p>When I test my site locally it works fine, but once I push to heroku the drop down menu doesn't work. </p>
  
  <p>my application.js file contains this:</p>
  
  <pre><code>    //= require bootstrap
      //= require jquery
      //= require jquery_ujs
      //= require_tree .
  </code></pre>
  
  <p>my application.html.erb file contains this </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt; &lt;%= full_title(yield(:title)) %&gt; &lt;/title&gt;
      &lt;%= stylesheet_link_tag    "application", :media =&gt; "all" %&gt;
      &lt;%= javascript_include_tag "application" %&gt;
      &lt;%= csrf_meta_tags %&gt;
      &lt;%= render 'layouts/shim' %&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;%= render 'layouts/header' %&gt;  
      &lt;div class="container"&gt;
          &lt;%= yield %&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>my header partial which is where the drop down menus are, contains this</p>
  
  <pre><code>&lt;header class="navbar navbar-fixed-top"&gt;
    &lt;div class="navbar-inner"&gt;
      &lt;div class="container"&gt;
        &lt;ul class="nav pull-left"&gt;
          &lt;li&gt;
        &lt;%= link_to image_tag("WML_header2.png", :alt =&gt; 'Wheres My Lan'), home_path%&gt; 
          &lt;/li&gt;
        &lt;/ul&gt;
        &lt;nav&gt;
          &lt;ul class="nav pull-right"&gt;
              &lt;/br&gt;
              &lt;li&gt;&lt;%= link_to "Heat Map",  heatMap_path %&gt;&lt;/li&gt;
              &lt;% if signed_in? %&gt;
              &lt;li&gt;&lt;%= link_to "New Update",  new_message_path %&gt;&lt;/li&gt;
  
  
              &lt;li id="fat-menu" class="dropdown"&gt;
                &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;
                  View &lt;b class="caret"&gt;&lt;/b&gt;
                &lt;/a&gt;
            &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;&lt;%= link_to "Users", users_path %&gt;&lt;/li&gt;
              &lt;li&gt;&lt;%= link_to "Reports", reports_path %&gt;&lt;/li&gt;
              &lt;li&gt;&lt;%= link_to "Statistics", stats_path %&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
  
  
          &lt;li id="fat-menu" class="dropdown"&gt;
            &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;
              Account &lt;b class="caret"&gt;&lt;/b&gt;
            &lt;/a&gt;
                &lt;ul class="dropdown-menu"&gt;
                  &lt;li&gt;&lt;%= link_to "Profile", current_user %&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;%= link_to "Settings", settings_path %&gt;&lt;/li&gt;
                  &lt;li class="divider"&gt;&lt;/li&gt;
                  &lt;li&gt;
                    &lt;%= link_to "Sign out", signout_path, method: "delete" %&gt;
                  &lt;/li&gt;
                &lt;/ul&gt;
              &lt;/li&gt;
            &lt;% else %&gt;
              &lt;li&gt;&lt;%= link_to "Admin sign in", signin_path %&gt;&lt;/li&gt;
  
            &lt;% end %&gt;
            &lt;li&gt;&lt;%= link_to "About",  about_path %&gt;&lt;/li&gt;
            &lt;li&gt;&lt;%= link_to "Contact", contact_path %&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/nav&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/header&gt;
  </code></pre>