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!

Posted in Uncategorized | Tagged , , | Leave a comment

[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

Posted in Announcements | Tagged , , , , , | 7 Comments