method

dangerous_class_method?

dangerous_class_method?(method_name)
public

A class method is ‘dangerous’ if it is already (re)defined by Active Record, but not by any ancestors. (So ‘puts’ is not dangerous but ‘new’ is.)