Sha256: 53172c323d6e7d494cd18bf9f42ff8a3c67c9863cda665c1ea5a0b52bea5c474
Contents?: true
Size: 457 Bytes
Versions: 65
Compression:
Stored size: 457 Bytes
Contents
module Comee module Core class StoreItem < ApplicationRecord belongs_to :product belongs_to :store validates :quantity, :reorder_threshold, presence: true def self.ransackable_attributes(_auth_object = nil) %w[created_at id id_value product_id quantity reorder_threshold store_id updated_at] end def self.ransackable_associations(_auth_object = nil) %w[product store] end end end end
Version data entries
65 entries across 65 versions & 1 rubygems