Question

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).

Was it helpful?

Solution

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.

OTHER TIPS

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/

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

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top