Sha256: ec1adcbcf6aa66c022936eef8cc00c2e7d4b2fcffe78ff26780c99b10b93c77d

Contents?: true

Size: 256 Bytes

Versions: 74

Compression:

Stored size: 256 Bytes

Contents

class Complement < ApplicationRecord
  include GuideContainer
  include FriendlyName

  validates_presence_of :book

  belongs_to :guide
  belongs_to :book

  include TerminalNavigation

  def used_in?(organization)
    organization.book == book
  end
end

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
mumuki-domain-6.4.2 app/models/complement.rb
mumuki-domain-6.4.1 app/models/complement.rb
mumuki-domain-6.4.0 app/models/complement.rb
mumuki-domain-6.2.2 app/models/complement.rb
mumuki-domain-6.2.1 app/models/complement.rb
mumuki-domain-6.3.0 app/models/complement.rb
mumuki-domain-6.2.0 app/models/complement.rb
mumuki-domain-6.1.5 app/models/complement.rb
mumuki-domain-6.0.4 app/models/complement.rb
mumuki-domain-6.1.4 app/models/complement.rb
mumuki-domain-6.1.3 app/models/complement.rb
mumuki-domain-6.1.2 app/models/complement.rb
mumuki-domain-6.0.3 app/models/complement.rb
mumuki-domain-6.0.1 app/models/complement.rb
mumuki-domain-6.0.0 app/models/complement.rb
mumuki-laboratory-5.13.0 app/models/complement.rb
mumuki-laboratory-5.12.1 app/models/complement.rb
mumuki-laboratory-5.12.0 app/models/complement.rb
mumuki-laboratory-5.11.0 app/models/complement.rb
mumuki-laboratory-5.10.4 app/models/complement.rb