First_app is a project mainly written in RUBY and JAVASCRIPT, it's free.
Rails Tutorial: first app
See chapter 1.