diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-13 11:31:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-13 11:31:31 +0900 |
commit | a47449891421a727d751c0df929358e6aa89cd8a (patch) | |
tree | 1e63a7553e9c0127baf1d86f6d55ecac9f1acef4 /activerecord/lib/active_record/attribute_methods | |
parent | 319c295bbacb9d6b66b1cb437fc2538ade89a24d (diff) | |
parent | c9d75177fe87ee1348c79d042c6449970eb47879 (diff) | |
download | rails-a47449891421a727d751c0df929358e6aa89cd8a.tar.gz rails-a47449891421a727d751c0df929358e6aa89cd8a.tar.bz2 rails-a47449891421a727d751c0df929358e6aa89cd8a.zip |
Merge pull request #35961 from shioyama/rename_method_missing_target
Rename method_missing_target to target
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
3 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/before_type_cast.rb b/activerecord/lib/active_record/attribute_methods/before_type_cast.rb index 5941f51a1a..dc239ff9ea 100644 --- a/activerecord/lib/active_record/attribute_methods/before_type_cast.rb +++ b/activerecord/lib/active_record/attribute_methods/before_type_cast.rb @@ -65,7 +65,7 @@ module ActiveRecord private - # Handle *_before_type_cast for method_missing. + # Dispatch target for <tt>*_before_type_cast</tt> attribute methods. def attribute_before_type_cast(attribute_name) read_attribute_before_type_cast(attribute_name) end diff --git a/activerecord/lib/active_record/attribute_methods/query.rb b/activerecord/lib/active_record/attribute_methods/query.rb index 6811f54b10..0cf67644af 100644 --- a/activerecord/lib/active_record/attribute_methods/query.rb +++ b/activerecord/lib/active_record/attribute_methods/query.rb @@ -32,7 +32,7 @@ module ActiveRecord end private - # Handle *? for method_missing. + # Dispatch target for <tt>*?</tt> attribute methods. def attribute?(attribute_name) query_attribute(attribute_name) end diff --git a/activerecord/lib/active_record/attribute_methods/write.rb b/activerecord/lib/active_record/attribute_methods/write.rb index 455e67e19b..d5ba2f42cb 100644 --- a/activerecord/lib/active_record/attribute_methods/write.rb +++ b/activerecord/lib/active_record/attribute_methods/write.rb @@ -58,7 +58,7 @@ module ActiveRecord value end - # Handle *= for method_missing. + # Dispatch target for <tt>*=</tt> attribute methods. def attribute=(attribute_name, value) _write_attribute(attribute_name, value) end |