method

role

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

The role (e.g. :writing) for the current connection. In a non-multi role application, :writing is returned.