Class: DigitalAssetsDuplicate

Inherits:
ApplicationRecord show all
Defined in:
app/models/digital_assets_duplicate.rb

Overview

== Schema Information

Table name: digital_assets_duplicates
Database name: primary

id :integer not null, primary key
hamming_distance :integer
created_at :datetime not null
updated_at :datetime not null
duplicate_id :string
image_id :string

Belongs to collapse

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event

Instance Method Details

#imageImage

Returns:

See Also:



14
# File 'app/models/digital_assets_duplicate.rb', line 14

belongs_to :image, optional: true