Rick
Not a member
Rick's latest activity
Thursday, March 26 2009
17
syntax error - versions 2.0.4 and 2.0.5
was updated
in AASM
-
Rick commented at 4:23 PMThat previous possible fix does not work. I must be losing the connection between my eyes and my brain.
A colon is no longer allowed in association with the whe...
-
Rick commented at 3:59 PMSo here's another possible fix:
when String, Symbol:
when String, Symbol :
This change passes muster with 1.9.1p0. The rule seems to be "then | :" is optional w...
-
Rick commented at 3:40 PMThe trailing colon in the when expression is seems to be allowed in Ruby 1.8.7 but not required. However, Ruby 1.9.1p0 will not allow the trailing colon.
I don'...
-
Rick created the ticket at 3:09 PMFrom: rubyist-aasm-2.0.[45]/lib/event.rb
def execute_success_callback(obj) case success when String, Symbol: obj.send(success) when Array: ...