Demo_app is a project mainly written in RUBY and JAVASCRIPT, it's free.
RoR demo app from railstutorial
demo-app from chapter 2 of rails tutorial