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