method

dangerous_attribute_method?

Importance_1
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.)

Show source
Register or log in to add new notes.