Ch4 is a project mainly written in RUBY and JAVASCRIPT, it's free.
chapter 4 of ruby tutorial
This is the sample application for Ruby on Rails Tutorial: Learn Rails by Example by Michael Hartl.