method

dangerous_attribute_method?

dangerous_attribute_method?(name)
public

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