public
Description: Adds support for creating state machines for attributes on any Ruby class
Homepage: http://www.pluginaweek.org
Clone URL: git://github.com/pluginaweek/state_machine.git

Comments for pluginaweek's state_machine   feed

michelangelo-altamore commented on pluginaweek/state_machine Mon Mar 23 01:24:55 -0700 2009
Comment in 9c8f587:

s/unqalified/unqualified/

raganwald commented on pluginaweek/state_machine Mon Dec 15 21:33:35 -0800 2008
Comment in f056c17:

I think I see what is going on here, there is a special case for initialize such that it does not appear as an instance method, and alias_method does not respect the special case.

obrie commented on pluginaweek/state_machine Mon Dec 15 17:59:22 -0800 2008
Comment in f056c17:

Also, the reason behind this change is that Rails will spit out warnings when reloading in development mode because it sees “initialize” as an instance method and removes it from the class.

obrie commented on pluginaweek/state_machine Mon Dec 15 17:56:15 -0800 2008
Comment in f056c17:

It’s very subtle, indeed, even though the comment is out of date.

raganwald commented on pluginaweek/state_machine Mon Dec 15 08:39:09 -0800 2008
Comment in f056c17:

define_method is used to prevent it from showing up in #instance_methods: Perhaps I do not understand what you mean. When I use #define_method in Ruby 1.8.7, the name of the method I define shows up when I call #instance_methods on the class.

peteforde commented on pluginaweek/state_machine Sun Dec 14 18:44:55 -0800 2008
Comment in 48d83df:

Awesome! Looks like a great predicates implementation.

peteforde commented on pluginaweek/state_machine Wed Dec 10 00:06:29 -0800 2008
Comment in 6f25124:

This patch is a real nipple rubber. You rule, Nate!

tobi commented on pluginaweek/state_machine Tue Sep 30 11:12:22 -0700 2008
Comment in 6a94afc:

Brilliant change. I used this to implement fine gained cache expiry for comments in Shopify and it fit like a glove.