Sha256: 0121cee394a3656f2bf29c44182788e830ca657dd697b96e9b0ce5d434572607

Contents?: true

Size: 860 Bytes

Versions: 11

Compression:

Stored size: 860 Bytes

Contents

# frozen_string_literal: true

# == Schema Information
#
# Table name: rmp_traces
#
#  id                      :integer          not null, primary key
#  rmp_profiled_request_id :bigint           not null
#  name                    :string
#  start                   :bigint
#  finish                  :bigint
#  duration                :integer
#  allocations             :bigint
#  payload                 :json
#  backtrace               :json
#  created_at              :datetime         not null
#  updated_at              :datetime         not null
#
# Indexes
#
#  index_rmp_traces_on_rmp_profiled_request_id  (rmp_profiled_request_id)
#
module RailsMiniProfiler
  class RmpTrace < Trace
    class << self
      def find_sti_class(_)
        super(name)
      end

      def sti_name
        'rails_mini_profiler.total_time'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_mini_profiler-0.7.0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.6.0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.5.0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.4.0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.3.0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.2.1 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.2.0 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.1.3 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.1.2 app/models/rails_mini_profiler/rmp_trace.rb
rails_mini_profiler-0.1.1 app/models/rails_mini_profiler/rmp_trace.rb