Method: ActiveRecord::AttributeMethods::ClassMethods#undefine_attribute_methods

Defined in:
lib/active_record/attribute_methods.rb

#undefine_attribute_methodsObject

:nodoc:



60
61
62
63
64
65
# File 'lib/active_record/attribute_methods.rb', line 60

def undefine_attribute_methods # :nodoc:
  generated_attribute_methods.synchronize do
    super if defined?(@attribute_methods_generated) && @attribute_methods_generated
    @attribute_methods_generated = false
  end
end