Rails extension to automatically render workflow actions based on model state and access control