title: Disqus comments fails to load on localhost?
body: <p>I would like to use the universal code and have ran into difficulties getting the most basic functionality done.</p>
  
  <p>I would like to create a shortname for <strong>test</strong> and one for my <strong>deployment</strong>, which I did from the Disqus admin panel.</p>
  
  <p>Here is the disqus code in my show action:</p>
  
  <pre><code># inside show.html.erb
  &lt;%= render raw 'comments' %&gt;
  
  # partial "comments"
  
    &lt;div id="disqus_thread"&gt;&lt;/div&gt;
      &lt;script type="text/javascript"&gt;
        var disqus_shortname = '&lt;%= Post::DISQUS_SHORTNAME %&gt;';
        var disqus_identifier = '&lt;%= @post.id %&gt;';
        var disqus_url = '&lt;%= url_for([:blog, @topic, @post])%&gt;';
          (function() {
              var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
              dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
              (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
          })();
      &lt;/script&gt;
      &lt;noscript&gt;Please enable JavaScript to view the &lt;a href="http://disqus.com/?ref_noscript"&gt;comments powered by Disqus.&lt;/a&gt;&lt;/noscript&gt;
      &lt;a href="http://disqus.com" class="dsq-brlink"&gt;blog comments powered by &lt;span class="logo-disqus"&gt;Disqus&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>In my model I define <code>Post</code>, I define my short name like so:</p>
  
  <pre><code>  DISQUS_SHORTNAME = if Rails.env.development? 
                          "dev-shortname".freeze
                       else
                          "shortname".freeze
                       end
  </code></pre>
  
  <p>I can confirm the loading spinner is functioning but that is it. Am I missing something obvious? When I try to include <code>only_path: false</code> as a second option in my url_for call, I get an exception stating I have supplied to many arguments to the method. Otherwise my disqus just hangs.</p>