• M
    Clarify intentions around method redefinitions · 2e6658ae
    Matthew Draper 提交于
    Don't use remove_method or remove_possible_method just before a new
    definition: at best the purpose is unclear, and at worst it creates a
    race condition.
    
    Instead, prefer redefine_method when practical, and
    silence_redefinition_of_method otherwise.
    2e6658ae
active_support_core_extensions.md 111.5 KB