Depot is a project mainly written in RUBY and JAVASCRIPT, it's free.
Sample project from PragProg's book: Agile Web Development with Rails
Sample application from the book Agile Web Development with Rails.
(c) The Pragmatic Programmers LLC.