jmettraux / ruote

a ruby workflow engine (dead)
MIT License
496 stars 74 forks source link

Avoid deleting all processes if argument is nil #98

Open lleirborras opened 7 years ago

lleirborras commented 7 years ago

If nil is passed as an argument to remove_process Ruote deletes all the processes in the database. An implicit validation on the function for nil? parameter fixes it