def inspect_attributes
      if active_record.abstract_class?
        Traits::AttributeList.new([])
      else
        columns = active_record.columns_hash.values

        if features.try(:translates_with_globalize?)
          globalize       = features.globalize
          tr_class        = globalize.model_class_for_translations
          tr_columns_hash = tr_class.columns_hash

          columns += globalize.translated_attribute_names.map do |el|
            tr_columns_hash[el.to_s]
          end
        end

        list = columns.map do |column|
          Traits::Attribute.new(active_record, column)
        end

        Traits::AttributeList.new(list)
      end
    end
def inspect_attributes
      if active_record.abstract_class?
        Traits::AttributeList.new([])
      else
        columns = active_record.columns_hash.values

        if features.try(:translates_with_globalize?)
          globalize       = features.globalize
          tr_class        = globalize.model_class_for_translations
          tr_columns_hash = tr_class.columns_hash

          columns += globalize.translated_attribute_names.map do |el|
            tr_columns_hash[el.to_s]
          end
        end

        list = columns.map do |column|
          Traits::Attribute.new(active_record, column)
        end

        Traits::AttributeList.new(list)
      end
    end
TODO Store, Storage, Virtual attributes