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/active_model
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
..
locale
serializers
type
validations
attribute_assignment.rb
attribute_methods.rb
callbacks.rb Use tt in doc for ActiveRecord [ci skip] 2017-08-27 14:01:29 +09:00
conversion.rb
dirty.rb
errors.rb
forbidden_attributes_protection.rb
gem_version.rb
lint.rb
model.rb
naming.rb Clarify intentions around method redefinitions 2017-09-01 14:27:13 +09:30
railtie.rb
secure_password.rb
serialization.rb
translation.rb
type.rb
validations.rb
validator.rb
version.rb