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.6.1 app/models/phcpress/articles/post.rb
phcpress-6.6.0 app/models/phcpress/articles/post.rb
phcpress-6.5.1 app/models/phcpress/articles/post.rb
phcpress-6.5.0 app/models/phcpress/articles/post.rb
phcpress-6.4.5 app/models/phcpress/articles/post.rb
phcpress-6.4.4 app/models/phcpress/articles/post.rb
phcpress-6.4.3 app/models/phcpress/articles/post.rb
phcpress-6.4.2 app/models/phcpress/articles/post.rb
phcpress-6.4.1 app/models/phcpress/articles/post.rb
phcpress-6.4.0 app/models/phcpress/articles/post.rb
phcpress-6.3.0 app/models/phcpress/articles/post.rb
phcpress-6.2.8 app/models/phcpress/articles/post.rb
phcpress-6.2.7 app/models/phcpress/articles/post.rb
phcpress-6.2.6 app/models/phcpress/articles/post.rb
phcpress-6.2.5 app/models/phcpress/articles/post.rb
phcpress-6.2.4 app/models/phcpress/articles/post.rb
phcpress-6.2.3 app/models/phcpress/articles/post.rb
phcpress-6.2.2 app/models/phcpress/articles/post.rb
phcpress-6.2.1 app/models/phcpress/articles/post.rb
phcpress-6.2.0 app/models/phcpress/articles/post.rb