I am trying to understand lifecycles .  I have an available to all
transition and the controller has auto_actions :all (code below)

l thought that when I went to a job page I would see some link to
trigger the transition "do_debug", but nothing.  I checked in the
database and the job has state 'open'.  Is there a problem in my code?
in my understanding about transitions appearing on pages?


#Model....job...
    #---- Lifecycle ---#
  lifecycle do
    state :open,  :debugxx
    state :open, :default => true
    transition :do_debug, { :open => :debugxx }, :available_to =>:all
do
    end
  end

#controller
class JobsController < ApplicationController
  hobo_model_controller
  auto_actions :all
end


Cheers,
Grant
--~--~---------~--~----~------------~-------~--~----~
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