Ithought.org-rails is a project mainly written in RUBY and JAVASCRIPT, it's free.
Rails implementation of http://ithought.org/
Rails implementation of ithought.org. Should be pretty self explanatory, and needs some work!