Sha256: 2b35aad0292c5245cc3d30ef295e03289998804173cbdbe03a21b895dfb95314

Contents?: true

Size: 267 Bytes

Versions: 36

Compression:

Stored size: 267 Bytes

Contents

module Phcpress
	class Modules::Category < ApplicationRecord

		# Relationships
		has_many :connections, class_name: 'Phcpress::Modules::Connection', dependent: :destroy
		has_many :posts, class_name: 'Phcpress::Modules::Category', :through => :connections

	end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
phcpress-6.6.1 app/models/phcpress/modules/category.rb
phcpress-6.6.0 app/models/phcpress/modules/category.rb
phcpress-6.5.1 app/models/phcpress/modules/category.rb
phcpress-6.5.0 app/models/phcpress/modules/category.rb
phcpress-6.4.5 app/models/phcpress/modules/category.rb
phcpress-6.4.4 app/models/phcpress/modules/category.rb
phcpress-6.4.3 app/models/phcpress/modules/category.rb
phcpress-6.4.2 app/models/phcpress/modules/category.rb
phcpress-6.4.1 app/models/phcpress/modules/category.rb
phcpress-6.4.0 app/models/phcpress/modules/category.rb
phcpress-6.3.0 app/models/phcpress/modules/category.rb
phcpress-6.2.8 app/models/phcpress/modules/category.rb
phcpress-6.2.7 app/models/phcpress/modules/category.rb
phcpress-6.2.6 app/models/phcpress/modules/category.rb
phcpress-6.2.5 app/models/phcpress/modules/category.rb
phcpress-6.2.4 app/models/phcpress/modules/category.rb
phcpress-6.2.3 app/models/phcpress/modules/category.rb
phcpress-6.2.2 app/models/phcpress/modules/category.rb
phcpress-6.2.1 app/models/phcpress/modules/category.rb
phcpress-6.2.0 app/models/phcpress/modules/category.rb