Module: PandaPal::OrganizationConcerns::MultiDatabaseSharding

Extended by:
ActiveSupport::Concern
Included in:
PandaPal::Organization
Defined in:
app/models/panda_pal/organization_concerns/multi_database_sharding.rb

Instance Method Summary collapse

Instance Method Details

#tenant_nameObject



16
17
18
19
# File 'app/models/panda_pal/organization_concerns/multi_database_sharding.rb', line 16

def tenant_name
  return "#{shard}:#{name}" if shard.present?
  super
end