diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index 67c198d15002fd51b3da141679cfde93e1cddbb9..11d462855d0641e0fb835558ef8bf041475a2324 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -85,7 +85,7 @@ def redirect_to(options = {}, response_options = {}) # * :fallback_location - The default fallback location that will be used on missing +Referer+ header. # * :allow_other_host - Allow or disallow redirection to the host that is different to the current host, defaults to true. # - # All other options that can be passed to redirect_to are accepted as + # All other options that can be passed to #redirect_to are accepted as # options and the behavior is identical. def redirect_back(fallback_location:, allow_other_host: true, **args) referer = request.headers["Referer"] diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index fd840070238af881a4d675f7572b825d4315d33a..bfb73ae5f55a73a33c341b00fe2a8b974a7a71fb 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -514,7 +514,7 @@ def save!(*args, **options, &block) # # To enforce the object's +before_destroy+ and +after_destroy+ # callbacks or any :dependent association - # options, use #destroy. + # options, use #destroy. def delete _delete_row if persisted? @destroyed = true