Skip to content

Transitions not working with ActiveRecord #61

Closed
@marjaimate

Description

@marjaimate

Hi there,

I have ActiveRecord 3.2.10 with ruby 1.9.2-p290 and trying to get this working with workflow gem version 0.8.6.

Without active record, the transitions work fine, as soon as I add in ActiveRecord to the mix, it only created the initial object and records the initial state in the DB correctly, but any transition (whether it's a new instance or trying to resume it from the DB) fails. No error message provided, the object state stays in the original one.

I even tried to run your Booking class example (https://github.com/geekq/workflow/blob/master/test/multiple_workflows_test.rb) and that didn't work either.

Could you look into this please and/or advise what am I doing wrong?

Thanks and regards.
Máté

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions