Cits4230-lecture-notes is a project mainly written in RUBY and JAVASCRIPT, it's free.
Code examples from CITS4230
Note that the lectures numbers are relative to the Ruby lectures.
Lecture 3: Some Ruby code
Lecture 3: An example of a RESTful controller
Lecture 4: A Rails app with a basic data model.