This is the presentation that I gave to Silicon Valley Ruby on Rails. Some of the topics covered were:
I also give practical tips on how to make your Rails app RESTful.
In this screencast you will learn: * Differences between Proc and Lambda * Using multiple proc objects in a function * Closure * Converting Procs to Blocks * and more...
In Ruby (like in Smalltalk), one of the killer features are blocks. This talk looks in depth at what Ruby blocks are and how they are used to show what they afford a programmer that most other languages don't. Blocks turn out to be a general purpose approach to creating clear, clean, versatile and often elegantly encapsulated interfaces. They are a pervasive design element in the best Ruby code.