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-laboratory-7.1.0 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-925adf85cca8/app/models/complement.rb
mumuki-domain-7.1.0 app/models/complement.rb
mumuki-laboratory-7.0.12 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-74da3d4af98c/app/models/complement.rb
mumuki-domain-7.0.6 app/models/complement.rb
mumuki-domain-7.0.5 app/models/complement.rb
mumuki-domain-7.0.4 app/models/complement.rb
mumuki-domain-7.0.3 app/models/complement.rb
mumuki-laboratory-7.0.11 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-f892f79c60f0/app/models/complement.rb
mumuki-domain-7.0.2 app/models/complement.rb
mumuki-domain-7.0.1 app/models/complement.rb
mumuki-domain-7.0.0 app/models/complement.rb
mumuki-domain-6.7.2 app/models/complement.rb
mumuki-domain-6.7.1 app/models/complement.rb
mumuki-domain-6.7.0 app/models/complement.rb
mumuki-domain-6.6.2 app/models/complement.rb
mumuki-domain-6.6.1 app/models/complement.rb
mumuki-domain-6.6.0 app/models/complement.rb
mumuki-domain-6.5.1 app/models/complement.rb
mumuki-domain-6.5.0 app/models/complement.rb
mumuki-domain-6.4.3 app/models/complement.rb