Sha256: 7cb8361285e099e283f35541611825a3b3f74d79857a4df860f12161dd296263

Contents?: true

Size: 237 Bytes

Versions: 4

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

class Essay < ActiveRecord::Base
  belongs_to :author
  belongs_to :writer, primary_key: :name, polymorphic: true
  belongs_to :category, primary_key: :name
  has_one :owner, primary_key: :name
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/models/essay.rb
ibm_db-5.4.1-x86-mingw32 test/models/essay.rb
ibm_db-5.4.0-x86-mingw32 test/models/essay.rb
ibm_db-5.3.2-x86-mingw32 test/models/essay.rb