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.10.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.9.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.9.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.9.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.9 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.8 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.7 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.6 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.5 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.4 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.3 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.2 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.1 app/models/phcpresspro/articles/post.rb
phcpresspro-5.8.0 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.7 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.6 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.5 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.4 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.3 app/models/phcpresspro/articles/post.rb
phcpresspro-5.7.2 app/models/phcpresspro/articles/post.rb