Sha256: 39e037bc5ef4efc87f199668161115521a541f540aaa0f6f65bcaf2fd6185adb
Contents?: true
Size: 294 Bytes
Versions: 29
Compression:
Stored size: 294 Bytes
Contents
module Pageflow # File import reference, belongs to entry and file class FileImport < ApplicationRecord belongs_to :entry belongs_to :file, polymorphic: true def file_importer Pageflow.config.file_importers.find_by_name!(read_attribute(:file_importer)) end end end
Version data entries
29 entries across 29 versions & 1 rubygems