Sha256: fe4b3e777ec6c64444d45de7c5e52a6501175963af96bfc204246ebe824ea266
Contents?: true
Size: 444 Bytes
Versions: 39
Compression:
Stored size: 444 Bytes
Contents
require 'subj_models/concerns/comprising_external_id' module SubjModels module OrderDeliveryPickupModule def self.included(including_class) including_class.class_eval do include SubjModels::ComprisingExternalId belongs_to :order belongs_to :office scope :order_id, -> (order_id) { parent_id_scope("order", order_id) } end end def to_s id.to_s # TODO end end end
Version data entries
39 entries across 39 versions & 2 rubygems