Method: Cylons::RPC#all

Defined in:
lib/cylons/rpc.rb

#allObject

need to wrap because to_a will leak connections otherwise



8
9
10
11
12
# File 'lib/cylons/rpc.rb', line 8

def all
  ::ActiveRecord::Base.connection_pool.with_connection do
    execute(:all).to_a
  end
end