Sha256: b3fc7e615eed718e9ddf71441481826677cf0868984305c7ef4ffefeb247edad
Contents?: true
Size: 359 Bytes
Versions: 17
Compression:
Stored size: 359 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[code item_description itemable_id itemable_type product_id] end end end end
Version data entries
17 entries across 17 versions & 1 rubygems