# File lib/active_model/attribute_methods.rb, line 279 def undefine_attribute_methods generated_attribute_methods.module_eval do instance_methods.each { |m| undef_method(m) } end attribute_method_matchers_cache.clear end