Sha256: ed489f3a03133c5ad5436cc15f4425900bf9c7925e065e8332deef6a902c54c3

Contents?: true

Size: 129 Bytes

Versions: 1

Compression:

Stored size: 129 Bytes

Contents

# frozen_string_literal: true

class TagsImporter < DataImp::Porter
  def import
    Tag.find_or_create_by(name: name)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record_has-0.1.0 sample/app/importers/tags_importer.rb