Using state_machine events within a resource_controller

If you need to call a state_machine Show archive.org snapshot event and do not want to re-define resource_controller Show archive.org snapshot 's create method, try this:

create.before do
  object.state_event = :launch_spaceship
end
Arne Hartherz