Sha256: 3bec4dd6b29da42ab62ae716ba527696bcc1242f9b85bb0648dcc041021f985a

Contents?: true

Size: 803 Bytes

Versions: 13

Compression:

Stored size: 803 Bytes

Contents

# frozen_string_literal: true

class Community < ApplicationRecord
  global_registry_bindings ensure_type: false,
                           include_all_columns: true,
                           exclude: %i[infobase_id infobase_gr_id]

  global_registry_bindings binding: :relationship,
                           type: :infobase_ministry,
                           id_column: :infobase_gr_id,
                           related_binding: :remote,
                           related_name: :ministry,
                           related_type: :ministry,
                           related_foreign_key: :infobase_id,
                           related_global_registry_id: :pull_infobase_global_registry_id

  def pull_infobase_global_registry_id(_type)
    '41f767fd-86f4-42e2-8d24-cbc3f697b794'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
global-registry-bindings-0.6.2 spec/internal/app/models/community.rb
global-registry-bindings-0.6.1 spec/internal/app/models/community.rb
global-registry-bindings-0.6.0 spec/internal/app/models/community.rb
global-registry-bindings-0.5.0 spec/internal/app/models/community.rb
global-registry-bindings-0.4.0 spec/internal/app/models/community.rb
global-registry-bindings-0.3.3 spec/internal/app/models/community.rb
global-registry-bindings-0.3.2 spec/internal/app/models/community.rb
global-registry-bindings-0.3.1 spec/internal/app/models/community.rb
global-registry-bindings-0.3.0 spec/internal/app/models/community.rb
global-registry-bindings-0.2.0 spec/internal/app/models/community.rb
global-registry-bindings-0.1.9 spec/internal/app/models/community.rb
global-registry-bindings-0.1.8 spec/internal/app/models/community.rb
global-registry-bindings-0.1.7 spec/internal/app/models/community.rb