Sha256: 13d1af161880510b1af68e11bd2e1a400f200bdb208bcd47b7eb573d6da924b9
Contents?: true
Size: 406 Bytes
Versions: 71
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true module Alchemy class EssenceNode < BaseRecord acts_as_essence( ingredient_column: :node, preview_text_column: :node_name, belongs_to: { class_name: "Alchemy::Node", foreign_key: :node_id, inverse_of: :essence_nodes, optional: true, }, ) delegate :name, to: :node, prefix: true, allow_nil: true end end
Version data entries
71 entries across 71 versions & 1 rubygems