Skip to content

Instantly share code, notes, and snippets.

@mpapis mpapis/bad.rb
Last active Jan 1, 2016

Embed
What would you like to do?
I hate asymmetrical code
apply_event :transfer_sent, :target_account_uid => target,
:amount => amount,
:new_balance => new_balance.amount,
:account_uid => uid
apply_event :transfer_sent, {
:target_account_uid => target,
:amount => amount,
:new_balance => new_balance.amount,
:account_uid => uid,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.