Sha256: d4d12865ed55e38bf8116fa0af08ca05a73d533365ce305b97800c5dd5585d63

Contents?: true

Size: 167 Bytes

Versions: 6

Compression:

Stored size: 167 Bytes

Contents

# frozen_string_literal: true

class PageCategory < ApplicationRecord
  belongs_to :page
  belongs_to :category
  validates :page_id, :category_id, presence: true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pages_core-3.9.0 app/models/page_category.rb
pages_core-3.8.3 app/models/page_category.rb
pages_core-3.8.2 app/models/page_category.rb
pages_core-3.8.1 app/models/page_category.rb
pages_core-3.8.0 app/models/page_category.rb
pages_core-3.7.0 app/models/page_category.rb