Module: ActiveRecord::Turntable::ActiveRecordExt::AbstractAdapter

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_record/turntable/active_record_ext/abstract_adapter.rb

Instance Method Summary collapse

Instance Method Details

#turntable_shard_nameObject



31
32
33
# File 'lib/active_record/turntable/active_record_ext/abstract_adapter.rb', line 31

def turntable_shard_name
  @turntable_shard_name
end

#turntable_shard_name=(name) ⇒ Object



27
28
29
# File 'lib/active_record/turntable/active_record_ext/abstract_adapter.rb', line 27

def turntable_shard_name=(name)
  @turntable_shard_name = name.to_s
end