1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/config/initializers/activerecord.rb

9 lines
297 B
Ruby

# frozen_string_literal: true
# https://github.com/ruckus/active-record-query-trace
# traces the origin of active record queries, useful for optimisation purposes
if Rails.env.development?
ActiveRecordQueryTrace.enabled = false # set to true to enable
ActiveRecordQueryTrace.level = :app
end