1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib
Matthew Draper 2e6658ae51 Clarify intentions around method redefinitions
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.
2017-09-01 14:27:13 +09:30
..
active_model Clarify intentions around method redefinitions 2017-09-01 14:27:13 +09:30
active_model.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00