Sha256: 33a658992fd174e949d4ff20bbb3897fc378ceac0d03cded038c7848618ea11e

Contents?: true

Size: 359 Bytes

Versions: 38

Compression:

Stored size: 359 Bytes

Contents

module Phcpresspro
	class Articles::Post < ApplicationRecord

		# For Image Uploads
		mount_uploader :pstimage, Phcpresspro::PstimageUploader

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

	end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
phcpresspro-6.4.1 app/models/phcpresspro/articles/post.rb
phcpresspro-6.4.0 app/models/phcpresspro/articles/post.rb
phcpresspro-6.3.2 app/models/phcpresspro/articles/post.rb
phcpresspro-6.3.1 app/models/phcpresspro/articles/post.rb
phcpresspro-6.3.0 app/models/phcpresspro/articles/post.rb
phcpresspro-6.2.0 app/models/phcpresspro/articles/post.rb
phcpresspro-6.1.1 app/models/phcpresspro/articles/post.rb
phcpresspro-6.1.0 app/models/phcpresspro/articles/post.rb
phcpresspro-6.0.2 app/models/phcpresspro/articles/post.rb
phcpresspro-6.0.1 app/models/phcpresspro/articles/post.rb
phcpresspro-6.0.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.11.3 app/models/phcpresspro/articles/post.rb
phcpresspro-5.11.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.11.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.11.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.10.3 app/models/phcpresspro/articles/post.rb
phcpresspro-5.10.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.10.1 app/models/phcpresspro/articles/post.rb