So I know how it works, how it
ActiveRecord::Base.connection_pool.with_connection do |conn|
conn.execute(sql)
end
but I'm trying to use a connection with actual Activerecord models, so something like
conn.Url.first
Is there a way to do something like this?
source
share