Sha256: 01ac3a66f8ca63084f9b8ae3e0904028facf5b51c0a76102647e188179f41bd9

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

# == Schema Information
#
# Table name: alchemy_folded_pages
#
#  id      :integer          not null, primary key
#  page_id :integer          not null
#  user_id :integer          not null
#  folded  :boolean          default(FALSE)
#

module Alchemy
  class FoldedPage < ActiveRecord::Base
    belongs_to :page, required: true
    belongs_to :user, required: true,
      class_name: Alchemy.user_class_name
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-4.0.4 app/models/alchemy/folded_page.rb
alchemy_cms-4.0.3 app/models/alchemy/folded_page.rb
alchemy_cms-4.0.2 app/models/alchemy/folded_page.rb
alchemy_cms-4.0.1 app/models/alchemy/folded_page.rb
alchemy_cms-4.0.0 app/models/alchemy/folded_page.rb
alchemy_cms-4.0.0.rc2 app/models/alchemy/folded_page.rb
alchemy_cms-4.0.0.rc1 app/models/alchemy/folded_page.rb