Sha256: be74a2b2206b9eab3176ff87044f7aabe690cc19bee825640ad1e6b7b0285601

Contents?: true

Size: 338 Bytes

Versions: 53

Compression:

Stored size: 338 Bytes

Contents

module Phcmembers
	class Directory::Category < ApplicationRecord

		# Add Paper Trail
		has_paper_trail

		# Model Relationships
		has_many :categorylistings, class_name: 'Phcmembers::Directory::Categorylisting', dependent: :destroy
		has_many :listings, class_name: 'Phcmembers::Member::Listing', :through => :categorylistings

	end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
phcmembers-5.0.2 app/models/phcmembers/directory/category.rb
phcmembers-5.0.1 app/models/phcmembers/directory/category.rb
phcmembers-5.0.0 app/models/phcmembers/directory/category.rb
phcmembers-4.2.10 app/models/phcmembers/directory/category.rb
phcmembers-4.2.7 app/models/phcmembers/directory/category.rb
phcmembers-4.2.6 app/models/phcmembers/directory/category.rb
phcmembers-4.2.5 app/models/phcmembers/directory/category.rb
phcmembers-4.2.4 app/models/phcmembers/directory/category.rb
phcmembers-4.2.3 app/models/phcmembers/directory/category.rb
phcmembers-4.2.2 app/models/phcmembers/directory/category.rb
phcmembers-4.2.0 app/models/phcmembers/directory/category.rb
phcmembers-4.1.0 app/models/phcmembers/directory/category.rb
phcmembers-4.0.0 app/models/phcmembers/directory/category.rb