Sha256: 0674b1ef33e33d7e09a1b2901d07ce3f1d77657030ac3c5c6115f53f7fb24b21
Contents?: true
Size: 562 Bytes
Versions: 5
Compression:
Stored size: 562 Bytes
Contents
class ItemCustomValue < ApplicationRecord belongs_to :item_custom_property belongs_to :item, required: false validates :item_custom_property, uniqueness: {scope: :item_id} end # == Schema Information # # Table name: item_custom_values # # id :integer not null, primary key # item_custom_property_id :integer not null # item_id :integer not null # value :text # created_at :datetime not null # updated_at :datetime not null #
Version data entries
5 entries across 5 versions & 1 rubygems