method

shard

rails latest stable - Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
shard()
public

The shard (e.g. :default) for the current connection. In a non-sharded application, :default is returned.