File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
activemodel/lib/active_model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ def changed
289
289
mutations_from_database . changed_attribute_names
290
290
end
291
291
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.
293
293
def attribute_changed? ( attr_name , **options )
294
294
mutations_from_database . changed? ( attr_name . to_s , **options )
295
295
end
@@ -299,7 +299,7 @@ def attribute_was(attr_name)
299
299
mutations_from_database . original_value ( attr_name . to_s )
300
300
end
301
301
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.
303
303
def attribute_previously_changed? ( attr_name , **options )
304
304
mutations_before_last_save . changed? ( attr_name . to_s , **options )
305
305
end
You can’t perform that action at this time.
0 commit comments