Sha256: 78549df487a47684e0c39b1dab991ebe57a36cdcf6b3274851efd43db284c0c0
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
# frozen_string_literal: true class UserRecord < ApplicationRecord self.table_name = 'users' has_secure_password has_many :article_records, foreign_key: :user_id, dependent: :destroy has_many :comment_records, foreign_key: :user_id, dependent: :destroy end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
upgrow-0.0.4 | test/dummy/app/records/user_record.rb |