Sha256: 267501565ed4e05d5a2d5b660e9a6c28edd8b6fa15fc3ac5da675cd26cad2be4

Contents?: true

Size: 255 Bytes

Versions: 5

Compression:

Stored size: 255 Bytes

Contents

module Phcpresspro
	class Modules::Category < ApplicationRecord

		# Relationships
		has_many :connections, class_name: 'Phcpresspro::Modules::Connection'
		has_many :posts, class_name: 'Phcpresspro::Modules::Category', :through => :connections

	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcpresspro-4.2.0 app/models/phcpresspro/modules/category.rb
phcpresspro-4.1.9 app/models/phcpresspro/modules/category.rb
phcpresspro-4.1.6 app/models/phcpresspro/modules/category.rb
phcpresspro-4.1.5 app/models/phcpresspro/modules/category.rb
phcpresspro-4.1.2 app/models/phcpresspro/modules/category.rb