From c9d75177fe87ee1348c79d042c6449970eb47879 Mon Sep 17 00:00:00 2001 From: Chris Salzberg Date: Sat, 13 Apr 2019 10:48:26 +0900 Subject: Improve wording of comments Most of the time, these methods are called from actual methods defined from columns in the schema, not from method_missing, so the current wording is misleading. --- activemodel/lib/active_model/attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model/attributes.rb') diff --git a/activemodel/lib/active_model/attributes.rb b/activemodel/lib/active_model/attributes.rb index c3a446098c..b7b2f35bcc 100644 --- a/activemodel/lib/active_model/attributes.rb +++ b/activemodel/lib/active_model/attributes.rb @@ -91,7 +91,7 @@ module ActiveModel @attributes.fetch_value(name) end - # Handle *= for method_missing. + # Dispatch target for *= attribute methods. def attribute=(attribute_name, value) write_attribute(attribute_name, value) end -- cgit v1.2.3