Method: ActiveRecord::AttributeMethods::ClassMethods#undefine_attribute_methods
- Defined in:
- activerecord/lib/active_record/attribute_methods.rb
#undefine_attribute_methods ⇒ Object
:nodoc:
142 143 144 145 146 147 148 |
# File 'activerecord/lib/active_record/attribute_methods.rb', line 142 def undefine_attribute_methods # :nodoc: GeneratedAttributeMethods::LOCK.synchronize do super if @attribute_methods_generated @attribute_methods_generated = false @alias_attributes_mass_generated = false end end |