I’d like to modify the behavior of the << method so that duplicates are
appended to my AR objects association.
I thought I could just use alias_method_chain on it but I can’t seem to
the right method for it let alone make the call to alias_method_chain.
I tried in the console.
a = “”
def a.<<_with_extra( *args )
so that I could use
alias_method_chain :<<, :extra
How is this done?