Skip to content

Instantly share code, notes, and snippets.

View benalavi's full-sized avatar
✌️

Ben Alavi benalavi

✌️
View GitHub Profile
alias :approve_with_kudos_2! :approve_with_kudos_2
alias :approve_with_kudos_2? :approve_with_kudos_2
alias_method_chain :approve!, :kudos_2
alias :approve_with_kudos_3! :approve_with_kudos_3
alias :approve_with_kudos_3? :approve_with_kudos_3
alias_method_chain :approve!, :kudos_3
method: save unique_method_number: 4 condition: false
method: save unique_method_number: 4 condition: false
method: save unique_method_number: 4 condition: false
running approve_with_kudos_3
running approve_with_kudos_2
method: approve! unique_method_number: 2 condition: nil
method: approve! unique_method_number: 3 condition: true
method: create unique_method_number: 6 condition: false
method: save unique_method_number: 4 condition: false
running approve_with_kudos_3