Sample_app is a project mainly written in RUBY and JAVASCRIPT, it's free.
Sample app from http://ruby.railstutorial.org
This is the sample application for Ruby on Rails Tutorial: Learn Rails by Example by Michael Hartl.