diff options
author | John Hawthorn <john@hawthorn.email> | 2018-12-11 11:13:35 -0800 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2018-12-11 14:24:02 -0800 |
commit | b67a3f5cac4d58c4fd55f1d41a203277aed94041 (patch) | |
tree | 4cf3c7bee8e05a02f1301e6dff2a54e69ec19ab1 /activerecord/lib/arel/alias_predication.rb | |
parent | 574234402433065e08a407be7cbdc900e5e0f1a3 (diff) | |
download | rails-b67a3f5cac4d58c4fd55f1d41a203277aed94041.tar.gz rails-b67a3f5cac4d58c4fd55f1d41a203277aed94041.tar.bz2 rails-b67a3f5cac4d58c4fd55f1d41a203277aed94041.zip |
Add AR::Base.connected_to?
This can be used to check the currently connected role. It's meant to
mirror AR::Base.connected_to
Diffstat (limited to 'activerecord/lib/arel/alias_predication.rb')
0 files changed, 0 insertions, 0 deletions