Sample_app is a project mainly written in RUBY and JAVASCRIPT, it's free.
Sample App Ruby on Rails Tutorial
This is the sample application for the Ruby on Rails Tutorial: Learn Rails by Example