Monthly Archives: June 2011

How do you handle simple pub-sub, evented architecture in rails apps?

I’ve been asking this question in various forms, via twitter, for a few days now. I’ve received a number of answers from people and have spent some time talking with Jak Charlton about the patterns that I would have used … Continue reading 

Posted in Analysis and Design, AppController, Messaging, Principles and Patterns, Ruby | 14 Comments

A Couple Of Tips For Ruby Code Blocks

Ruby’s code blocks (a.k.a “lambdas” or anonymous functions in .net) are powerful little tools that get used everywhere, and for good reason. But, every now and then I run into a little trick or issue related to them. For example: … Continue reading 

Posted in Ruby | 8 Comments