Active Record Attribute Methods

Constants

BLACKLISTED_CLASS_METHODS = %w(private public protected allocate new name parent superclass)

AttrNames = Module.new { def self.set_name_cache(name, value) const_name = "ATTR_#{name}" unless const_defined? const_name const_set const_name, value.dup.freeze end end }

Attributes

Show files where this module is defined (10 files)
Register or log in to add new notes.