https://github.com/rails/rails/search?q=undefine_attribute_methods&ref=cmdform