@@ -108,7 +108,7 @@ module ActiveModel
108
108
# person.changes # => {"name" => ["Bill", "Bob"]}
109
109
#
110
110
# If an attribute is modified in-place then make use of
111
- # {*_will_change!}[rdoc-label:method-i-2A_will_change-21 ] to mark that the attribute is changing.
111
+ # {*_will_change!}[rdoc-ref:#*_will_change! ] to mark that the attribute is changing.
112
112
# Otherwise \Active \Model can't track changes to in-place attributes. Note
113
113
# that Active Record can detect in-place modifications automatically. You do
114
114
# not need to call <tt>*_will_change!</tt> on Active Record models.
@@ -296,22 +296,22 @@ def changed
296
296
mutations_from_database . changed_attribute_names
297
297
end
298
298
299
- # Dispatch target for {*_changed?}[rdoc-label:method-i-2A_changed-3F ] attribute methods.
299
+ # Dispatch target for {*_changed?}[rdoc-ref:#*_changed? ] attribute methods.
300
300
def attribute_changed? ( attr_name , **options )
301
301
mutations_from_database . changed? ( attr_name . to_s , **options )
302
302
end
303
303
304
- # Dispatch target for {*_was}[rdoc-label:method-i-2A_was ] attribute methods.
304
+ # Dispatch target for {*_was}[rdoc-ref:#*_was ] attribute methods.
305
305
def attribute_was ( attr_name )
306
306
mutations_from_database . original_value ( attr_name . to_s )
307
307
end
308
308
309
- # Dispatch target for {*_previously_changed?}[rdoc-label:method-i-2A_previously_changed-3F ] attribute methods.
309
+ # Dispatch target for {*_previously_changed?}[rdoc-ref:#*_previously_changed? ] attribute methods.
310
310
def attribute_previously_changed? ( attr_name , **options )
311
311
mutations_before_last_save . changed? ( attr_name . to_s , **options )
312
312
end
313
313
314
- # Dispatch target for {*_previously_was}[rdoc-label:method-i-2A_previously_was ] attribute methods.
314
+ # Dispatch target for {*_previously_was}[rdoc-ref:#*_previously_was ] attribute methods.
315
315
def attribute_previously_was ( attr_name )
316
316
mutations_before_last_save . original_value ( attr_name . to_s )
317
317
end
0 commit comments