title: rails : gmaps4rails gem not showing sidebar after deployment
body: <p>I have a really tiny problem that is a huge feature for the site.
  Just a quick overview I developed the rails app in development mode and used the gmaps4rails app which worked fine. However I deployed the app to Heroku and now the gmaps4rails does not show the sidebar.</p>
  
  <p>Below is an image of how it should look like:
  <a href="http://i.stack.imgur.com/UJQ1X.png" rel="nofollow">image</a>
  So when the user clicks on any of the sidebar entries it takes the user to the correct marker on the map.</p>
  
  <p>Below is an image of how it is rendered in production/Heroku
  <a href="http://i.stack.imgur.com/vlNzU.png" rel="nofollow">image</a>
  As you can see there is no sidebar entries.</p>
  
  <p>Upon looking at the source code which is rendered there is one difference.
  In the development mode this line of code is present <code>Gmaps.map.markers_conf.list_container = "ranchlist";</code> This code is the code that gets the list and displays it.</p>
  
  <p>Below is the code for the view itself:</p>
  
  <pre><code>&lt;div id="mapscontainer"&gt;
  &lt;%= gmaps("markers" =&gt; {"data" =&gt; @json, "options" =&gt; {"list_container" =&gt; "ranchlist"}}, 
      :map_options =&gt; {"auto_adjust" =&gt; true, "zoom" =&gt; 17,  
                                        :raw =&gt; '{ 
                                         panControl: true,
                                         zoomControl: true,
                                         mapTypeControl: false,
                                         scaleControl: false,
                                         streetViewControl: false,
                                         overviewMapControl: false,
                                         scrollwheel: false,
                                         zoom: 20,
                                         }' 
                            },
            :markers =&gt; { :data =&gt; @json  } 
  )%&gt;
  
  &lt;div id="ranchcontainer"&gt;
  &lt;ul id="ranchlist"&gt;&lt;h2&gt;Find A Mash's Wing Ranch &lt;span style="font-size:25px;"&gt;&lt;sup&gt;&amp;reg;&lt;/sup&gt;&lt;/span&gt;&lt;/h2&gt;
  &lt;h1&gt;Near You&lt;/h1&gt;&lt;/br&gt;  
  &lt;%= image_tag("locations/locations_line.png", :class =&gt; "lineseperator") %&gt; 
  &lt;/ul&gt;
  &lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>