Sha256: 1ba91e4a490d33c3f60037e215f801599dd4d5ab219bca042c49abf2b5cfc996

Contents?: true

Size: 422 Bytes

Versions: 16

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  # @deprecated
  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

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.9 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.8 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.7 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.6 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.5 app/models/alchemy/essence_node.rb
alchemy_cms-6.0.14 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.4 app/models/alchemy/essence_node.rb
alchemy_cms-6.0.13 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.3 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.2 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.1 app/models/alchemy/essence_node.rb
alchemy_cms-6.1.0 app/models/alchemy/essence_node.rb
alchemy_cms-6.0.12 app/models/alchemy/essence_node.rb
alchemy_cms-6.0.11 app/models/alchemy/essence_node.rb
alchemy_cms-6.0.10 app/models/alchemy/essence_node.rb