Sha256: 69d7d279440b444468044151360a50699a8389e5cd813793b8e75ae4a96d2c9a
Contents?: true
Size: 265 Bytes
Versions: 4
Compression:
Stored size: 265 Bytes
Contents
module RailsLiveDashboard module Widgets class SlowestRequestsController < ApplicationController def show @requests = Request .order(Arel.sql("cast(content->>'duration' as float) DESC")) .limit(5) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems