Sha256: 80e73f05c43aba5a125f47488591c52756a5cb985ecbfcf5d3e96971b6f26592
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module Phlexi module Table module FieldOptions module Attachments protected def attachment_reflection @attachment_reflection ||= find_attachment_reflection end def find_attachment_reflection if object.class.respond_to?(:reflect_on_attachment) object.class.reflect_on_attachment(key) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phlexi-table-0.0.1 | lib/phlexi/table/field_options/attachments.rb |