lib/has_eav.rb
def eav_attribute name, type = String
          name = name.to_s if !name.is_a? String

          @eav_attributes[name] = type
        end
# Add an other attribute to the class list
Add an other attribute to the class list
Add an other attribute to the class list
def eav_attribute name, type = String
          name = name.to_s if !name.is_a? String
          @eav_attributes[name] = type
        end
def eav_attribute name , type = String name = name . to_s if ! name . is_a? String @eav_attributes [ name ] = type end
Add an other attribute to the class list
Add an other attribute to the class list
name
type