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