Skip to content

Commit 007ea58

Browse files
Fix typo in method names [ci-skip]
1 parent 6fddf2e commit 007ea58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activemodel/lib/active_model/dirty.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def changed
289289
mutations_from_database.changed_attribute_names
290290
end
291291

292-
# Dispatch target for {*_changed}[rdoc-label:method-i-2A_changed-3F] attribute methods.
292+
# Dispatch target for {*_changed?}[rdoc-label:method-i-2A_changed-3F] attribute methods.
293293
def attribute_changed?(attr_name, **options)
294294
mutations_from_database.changed?(attr_name.to_s, **options)
295295
end
@@ -299,7 +299,7 @@ def attribute_was(attr_name)
299299
mutations_from_database.original_value(attr_name.to_s)
300300
end
301301

302-
# Dispatch target for {*_previously_changed}[rdoc-label:method-i-2A_previously_changed-3F] attribute methods.
302+
# Dispatch target for {*_previously_changed?}[rdoc-label:method-i-2A_previously_changed-3F] attribute methods.
303303
def attribute_previously_changed?(attr_name, **options)
304304
mutations_before_last_save.changed?(attr_name.to_s, **options)
305305
end

0 commit comments

Comments
 (0)