Depot is a project mainly written in RUBY and JAVASCRIPT, it's free.
sample app from agile web development with rails book
This is a sample application for [Agile Web Development with Rails, 4th ed.]