Sha256: d007eb2d9ec9f137c17b9776574a1f7be24816019efdf53b0f1292a169e80702
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true module Phlexi module Table module FieldOptions module Associations protected def association_reflection @association_reflection ||= find_association_reflection end def find_association_reflection if object.class.respond_to?(:reflect_on_association) object.class.reflect_on_association(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/associations.rb |