Open aderyabin opened 11 years ago
+1. Here's the same fix without whitespace effects:
https://github.com/avit/state_machine/commit/60f9ca14c88c9604b45ae15a19716eefe9b39162
Thanks @aderyabin. Looks better than the other PR.
I'm collecting pull requests like this in my fork. Using state_machine in too many of my projects - not ready to migrate to a different gem yet.
The problem is described in #255. I suggest more pleasurable solution