I'm using Hobo 0.8.5.
There's an option to the transition method called "update". In the
manual it is called "params".
instead of :
transition :ready_submission, { :open => :ready, }, :available_to =>
"User", :update => [:message]
write:
transition :ready_submission, { :open => :ready, }, :available_to =>
"User", :update => [:message]
and one thing that isn't mentioned in the manual: you can call the
transition from code with
submission.lifecycle.ready_submission!(user, :message => "Hello")
Bryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---