Remove check for UnboundMethod#method_defined? bind_call by aweglteo · Pull Request #41369 · rails/rails
Summary Rails 7.0 requires Ruby 2.7+ now so checking defined UnBoundMethod#bind_call should't be needed.