18

Is there anything better than the Disqus Ruby Gem? Perhaps something geared specifically towards Rails?

(The Disqus gem might be the best option, I just haven't been able to find much color one way or the other).

Tom Lehman
  • 85,973
  • 71
  • 200
  • 272

4 Answers4

16

The Ruby gem's helper just embeds Disqus' native Javascript, which is bad because it loads the Disqus comments synchronously.

Rather than make users wait, I did some hacking and got the comments to load asynchronously. Check out my blog post on the subject.

Tom Lehman
  • 85,973
  • 71
  • 200
  • 272
7

You can always just sign up for an account for your site and stick their generic javascript into your page where you want it:

http://disqus.com/websites/

Shane Liebling
  • 248
  • 1
  • 3
3

Since Feb 2010 The disqus javascript will load asynchronously.

http://blog.disqus.com/post/397517128/making-disqus-faster

Nothing will be waiting on Disqus to load, even if Disqus is slow to respond, and the web page will load quicker.

Official embed code: http://help.disqus.com/customer/portal/articles/472097-universal-embed-code

Robin
  • 866
  • 7
  • 19
1

I looked into this myself. There's a couple of Ruby gems, but Norman's disqus gem that you listed was the only one I could find with Rails helpers.

Delameko
  • 2,544
  • 21
  • 19