About
Buy my book
Exceptional Ruby is the definitive guide to exceptions and failure handling in Ruby.
Pages
Categories
Tag Archives: alter-ego
Using AlterEgo with ActiveRecord
François Beausoleil has a nice post up demonstrating “how to use AlterEgo with ActiveRecord”:http://blog.teksol.info/2008/12/09/how-to-use-alterego-with-activerecord.html. If you’re interested in introducing state-specific behaviors to your ActiveRecord objects, check it out!
[ANN] alter-ego 1.0.0 Released
Today I’m happy to announce the release of AlterEgo, a state-pattern library for Ruby. AlterEgo was born about a year ago, when I found a need to formalize state-based behavior in Ruby objects. I surveyed the existing libraries at the … Continue reading
