Sha256: f45595ca00b1b3c75b82a0fa3ec315a5dcf05d1f63249b32c0556c53657ece2d
Contents?: true
Size: 444 Bytes
Versions: 98
Compression:
Stored size: 444 Bytes
Contents
module Comee module Core class ProductLookup < ApplicationRecord belongs_to :product belongs_to :itemable, polymorphic: true validates :code, :item_description, presence: true def self.ransackable_attributes(_auth_object = nil) %w[id code item_description itemable_id itemable_type product_id] end def self.ransackable_associations(_auth_object = nil) [] end end end end
Version data entries
98 entries across 98 versions & 1 rubygems