From ce0b8ffbd676c4a902d5bfd9e75c3f002d45c077 Mon Sep 17 00:00:00 2001 From: s-mori Date: Wed, 11 Dec 2019 22:26:49 +0900 Subject: [PATCH] [ci skip] Fix typo, will_save_change_to_attribute -> will_save_change_to_attribute? --- activerecord/lib/active_record/attribute_methods/dirty.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/attribute_methods/dirty.rb b/activerecord/lib/active_record/attribute_methods/dirty.rb index 7f44e5c709..bd157b305a 100644 --- a/activerecord/lib/active_record/attribute_methods/dirty.rb +++ b/activerecord/lib/active_record/attribute_methods/dirty.rb @@ -89,7 +89,7 @@ module ActiveRecord # This method is useful in validations and before callbacks to determine # if the next call to +save+ will change a particular attribute. It can be # invoked as +will_save_change_to_name?+ instead of - # will_save_change_to_attribute("name"). + # will_save_change_to_attribute?("name"). # # ==== Options #