Sha256: 4af5979859394724265091a64b5e244e6f747c43253e958ed89f13f28352db5c
Contents?: true
Size: 391 Bytes
Versions: 96
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true module Alchemy module Ingredients class <%= @class_name %> < Alchemy::Ingredient # Set additional attributes that get stored in the `data` JSON column # store_accessor :data, :some, :attribute # Set a related_object alias for convenience # related_object_alias :some_association_name, class_name: "Some::Klass" end end end
Version data entries
96 entries across 96 versions & 1 rubygems