This gem provides:
- Ansynchronous Disqus discussion integration into your Rails project
- Rails 3.1 or later
Add the disqus_rails
gem to your Gemfile
gem 'disqus_rails'
And run bundle install
Set the disqus_shortname
variable (will raise an exception if it has not been set)
DisqusRails.disqus_shortname = 'my-staging-site'
Additional variables/configurations may be set also, please refer to Disqus documentation
DisqusRails.disqus_identifier = 'my-identifier'
DisqusRails.disqus_title = 'my-disqus_title'
DisqusRails.disqus_url = 'my-disqus_url'
Then embedding the disqus_tag
into your view
<%= disqus_tag %>
- Disqus for bringing about a nice cloud platform for discussion/comment system integration
- Norman Clarke for inspiring me the idea of this gem. (He also wrote a gem on Disqus, but for synchronous Disqus API)
Pull requests are more than welcome. Before submitting pull requests, please make sure your changes are covered with tests.
Copyright (c) 2011-2013 Thach Chau. Released under the MIT license