socialforge/app/models/attachment_history.rb

4 lines
103 B
Ruby

class AttachmentHistory < ActiveRecord::Base
belongs_to :attachment,foreign_key: 'attachment_id'
end