Sha256: b43224b2b316e3a45cf5117ee700588c991e46b81a03ac4ac6e3e4b932d82272

Contents?: true

Size: 289 Bytes

Versions: 14

Compression:

Stored size: 289 Bytes

Contents

module Phcpresspro
  class Modules::Category < ApplicationRecord
  
    # Relationships

    has_many :connections, class_name: 'Phcpresspro::Modules::Connection', dependent: :destroy
    has_many :posts, class_name: 'Phcpresspro::Modules::Category', :through => :connections
  
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
phcpresspro-8.0.2 app/models/phcpresspro/modules/category.rb
phcpresspro-8.0.1 app/models/phcpresspro/modules/category.rb
phcpresspro-8.0.0 app/models/phcpresspro/modules/category.rb
phcpresspro-7.1.0 app/models/phcpresspro/modules/category.rb
phcpresspro-7.0.5 app/models/phcpresspro/modules/category.rb
phcpresspro-7.0.4 app/models/phcpresspro/modules/category.rb
phcpresspro-7.0.3 app/models/phcpresspro/modules/category.rb
phcpresspro-7.0.2 app/models/phcpresspro/modules/category.rb
phcpresspro-7.0.1 app/models/phcpresspro/modules/category.rb
phcpresspro-7.0.0 app/models/phcpresspro/modules/category.rb
phcpresspro-6.9.1 app/models/phcpresspro/modules/category.rb
phcpresspro-6.9.0 app/models/phcpresspro/modules/category.rb
phcpresspro-6.8.5 app/models/phcpresspro/modules/category.rb
phcpresspro-6.8.0 app/models/phcpresspro/modules/category.rb