Basic usageIf want to assign what is read to a variableBasic usageApplicationRecord.connected_to(role: :reading) do ... endIf want to assign what is read to a variablea_var = ApplicationRecord.connected_to(role: :reading) do ... end