Bryan,

I dunno if it is the correct approach.

I usually put these suggestions in lighthouse (http://
hobo.lighthouseapp.com/projects/8324-hobo).

Regards,
  Tiago Franco

On Feb 25, 9:08 pm, Bryan Larsen <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to