Sha256: 1d17a79047c2f67c855dd38f1f31047ed79ba0f9e495732e93d667a96af1f2e0
Contents?: true
Size: 177 Bytes
Versions: 1
Compression:
Stored size: 177 Bytes
Contents
Application.class_eval do get '/pulse' do rows = ActiveRecord::Base.connection.execute("select 1 from dual").num_rows rescue 0 rows == 1 ? "OK" : "Error!" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
a_b-0.1.1 | lib/a_b/controller/pulse.rb |