about summary refs log tree commit diff stats
path: root/data/maps/the_sweet/metadata.txtpb
blob: 95f220960beb870cf964e04d74e9e231618fc202 (plain) (blame)
1
display_name: "The Sweet"
.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
module Recordable
  extend ActiveSupport::Concern

  included do
    has_many :records, as: :recordable, inverse_of: :recordable

    accepts_nested_attributes_for :records, allow_destroy: true
  end
end