Sha256: 204c6a886d86ff9746880d6f6135806d3034cb73422d6ff3455c9633c10f1008

Contents?: true

Size: 361 Bytes

Versions: 77

Compression:

Stored size: 361 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

77 entries across 77 versions & 1 rubygems

Version Path
phcpresspro-4.4.5 app/models/phcpresspro/articles/post.rb
phcpresspro-4.4.1 app/models/phcpresspro/articles/post.rb
phcpresspro-4.4.0 app/models/phcpresspro/articles/post.rb
phcpresspro-4.3.2 app/models/phcpresspro/articles/post.rb
phcpresspro-4.3.1 app/models/phcpresspro/articles/post.rb
phcpresspro-4.3.0 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.12 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.11 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.10 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.9 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.8 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.7 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.6 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.4 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.3 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.2 app/models/phcpresspro/articles/post.rb
phcpresspro-4.2.1 app/models/phcpresspro/articles/post.rb