Sha256: 9a856aa8ad40354a488d2d7935ce740f98491edb22f4f256224c4980e6dd2ab9
Contents?: true
Size: 404 Bytes
Versions: 15
Compression:
Stored size: 404 Bytes
Contents
module Phcmembers class Member::Listing < ApplicationRecord # Add Paper Trail has_paper_trail # Model Relationships belongs_to :profile, class_name: 'Phcmembers::Member::Profile' has_many :categorylistings, class_name: 'Phcmembers::Directory::Categorylisting', dependent: :destroy has_many :categories, class_name: 'Phcmembers::Directory::Category', :through => :categorylistings end end
Version data entries
15 entries across 15 versions & 1 rubygems