Sha256: 1c754837a5e14a1ba1456bebca6ad4146065cebcc1d2267402f5f8529e3a7ee8
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true module RailsMiniProfiler class ApplicationRecord < ActiveRecord::Base if RailsMiniProfiler.storage_configuration.database.present? establish_connection(RailsMiniProfiler.storage_configuration.database.present?) 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
4 entries across 4 versions & 1 rubygems