Sha256: 8edad255f767f0091b4e044f443b5dafd8d9f0fdf1db01fc8bc530de9a5713fa

Contents?: true

Size: 348 Bytes

Versions: 36

Compression:

Stored size: 348 Bytes

Contents

module Phcpress
	class Articles::Post < ApplicationRecord

		# For Image Uploads
		mount_uploader :pstimage, Phcpress::PstimageUploader
		
		# Relationships
		has_many :connections, class_name: 'Phcpress::Modules::Connection', dependent: :destroy
		has_many :categories, class_name: 'Phcpress::Modules::Category', :through => :connections

	end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
phcpress-6.1.3 app/models/phcpress/articles/post.rb
phcpress-6.1.1 app/models/phcpress/articles/post.rb
phcpress-6.1.0 app/models/phcpress/articles/post.rb
phcpress-6.0.0 app/models/phcpress/articles/post.rb
phcpress-5.3.9 app/models/phcpress/articles/post.rb
phcpress-5.3.8 app/models/phcpress/articles/post.rb
phcpress-5.3.7 app/models/phcpress/articles/post.rb
phcpress-5.3.6 app/models/phcpress/articles/post.rb
phcpress-5.3.5 app/models/phcpress/articles/post.rb
phcpress-5.3.4 app/models/phcpress/articles/post.rb
phcpress-5.3.3 app/models/phcpress/articles/post.rb
phcpress-5.3.2 app/models/phcpress/articles/post.rb
phcpress-5.3.0 app/models/phcpress/articles/post.rb
phcpress-5.2.1 app/models/phcpress/articles/post.rb
phcpress-5.2.0 app/models/phcpress/articles/post.rb
phcpress-5.1.0 app/models/phcpress/articles/post.rb