lib/has_eav.rb
# class accessor - when the superclass != AR::Base asume we are in STI
# mode
class accessor - when the superclass != AR::Base asume we are in STI
mode
class accessor - when the superclass ! = AR :: Base asume we are in STI mode
def class_eav_attributes 
          superclass != ActiveRecord::Base ?
            superclass.class_eav_attributes.merge(@eav_attributes || {}) :
            @eav_attributes
        end
def class_eav_attributes superclass != ActiveRecord :: Base ? superclass . class_eav_attributes . merge ( @eav_attributes || { } ) : @eav_attributes end
class accessor - when the superclass != AR::Base asume we are in STI
mode
class accessor - when the superclass ! = AR :: Base asume we are in STI mode
# :nodoc: