Project

qa-rails

0.0
No commit activity in last 3 years
No release in over 3 years
Rails Engine. a mini forum provided by only a simple helper, written in Backbones.js.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Project Readme

qa-rails

Rails Engine. a mini forum provided by only a simple helper, written in Backbones.js.

Usage

  1. Ad qa-rails tables,bundle exec rake db:migrate
  2. config it in view:
qa_setup "#content .SectionBox .SectionList .forum",
         @current_lesson.id,
         :jsfun_user_avatar_url => "eoe.jsfun_user_avatar_url",
         :jsfun_user_info => "function() { return {uid:eoe.uid, uname:eoe.uname}; }",
         :empty_topics_text => 'Hey, 还没有问题,如果你有和本课相关但还不明白的问题,请在这里提问 :)',
         :notice_div => '$(".SectionBox[anchor=qa] .SectionHead .hasNew")'

Screenshots

Other forums written in Ruby and Javascript

Contributors

  • 产品: @iceskysl
  • rails, javascript: @mvj3
  • css: @xiang97

License

MIT