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-5.7.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.6.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.6.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.6.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.8 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.7 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.6 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.5 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.4 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.3 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.5.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.4.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.4.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.4.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.3.4 app/models/phcpresspro/articles/post.rb
phcpresspro-5.3.3 app/models/phcpresspro/articles/post.rb
phcpresspro-5.3.2 app/models/phcpresspro/articles/post.rb