Replace ActionMailer::Base#respond_to? with respond_to_missing?

This commit is contained in:
Ryan Buckley 2015-12-02 22:35:03 -10:00
parent 215f86c348
commit e899dfac47

@ -541,8 +541,8 @@ def deliver_mail(mail) #:nodoc:
end end
end end
def respond_to?(method, include_private = false) #:nodoc: def respond_to_missing?(method, include_private = false) #:nodoc:
super || action_methods.include?(method.to_s) action_methods.include?(method.to_s)
end end
protected protected