Sha256: 57860a8d8d06be2653d3fddb08b614c5597a827f51842c7c7a304e07713a09f2
Contents?: true
Size: 140 Bytes
Versions: 1
Compression:
Stored size: 140 Bytes
Contents
# frozen_string_literal: true class CategoriesImporter < DataImp::Porter def import Category.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/categories_importer.rb |