Sha256: 3e513e6d64ee65761fa0944386a354fac0e249e82d4286d8ecd808e60c0600de
Contents?: true
Size: 519 Bytes
Versions: 11
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true module RailsMiniProfiler class ApplicationRecord < ActiveRecord::Base if RailsMiniProfiler.storage_configuration.database.present? establish_connection(RailsMiniProfiler.storage_configuration.database) end self.abstract_class = true def self.record_timestamps # Some applications may disable timestamp setting, but in the context of the engine we always want to record # timestamps, as engine functionality relies on it. true end end end
Version data entries
11 entries across 11 versions & 1 rubygems