Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Rick's latest activity

Thursday, March 26 2009
17 syntax error - versions 2.0.4 and 2.0.5 was updated in AASM
  • Rick
    Rick commented at 4:23 PM

    That 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
    Rick commented at 3:59 PM

    So 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
    Rick commented at 3:40 PM

    The 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
    Rick created the ticket at 3:09 PM

    From: rubyist-aasm-2.0.[45]/lib/event.rb

      def execute_success_callback(obj)
        case success
        when String, Symbol:
          obj.send(success)
        when Array:
    ...