We're big fans of Ruby on Rails at Cased and we created the
cased-rails gem to make it a breeze to add Cased approval workflows to any Rails application.
To get started:
- Install the
mount Cased::Rails::Engine => '/cased'to your
routes.rbfile. This allows Cased to render some approval workflow views when necessary.
before_actionto any action you'd like to add approvals to. Whether the action is used to impersonate users, credit accounts, or access sensitive data, it's easy to get started.
rails console sessions can also be configured to require peer approval before sessions start. Cased also integrates with PagerDuty to auto approve sessions when someone is on call.