Sample_app is a project mainly written in RUBY and JAVASCRIPT, it's free.
Mike Hartl's Tutorioal on RonR - Chap 3
This is the sample application for Ruby on Rails Tutorial: Learn Rails by Example by Michael Hartl. Chapter 3 in Mike's online tutorial