Sha256: 5516304dddb466b80f470c76cc4e88be2cf727b3e3e7fbb3776ebe517c3efb12

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true

class CommentRecord < ApplicationRecord
  self.table_name = 'comments'
  belongs_to :user_record, foreign_key: :user_id
  belongs_to :article_record, foreign_key: :article_id
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
upgrow-0.0.4 test/dummy/app/records/comment_record.rb
upgrow-0.0.3 test/dummy/app/records/comment_record.rb