Open the8472 opened 12 years ago
yeah, +1
There are some complexities with around callbacks and some of the ORM integrations for this. I'll think about this as part of the 2.0.0 release.
removed previous question as I did not see mailing list. Thanks for such a great gem!
To get the perform parameters of
Model.some_transition.perform(:a, :b, {:c => :d})
we currently have to do something likeIt would be nice to make the syntax a bit more compact by passing the perform arguments to the callbacks directly if their arity allows
it should look like this
The same applies to method callbacks instead of procs of course.