mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
7 lines
267 B
Ruby
7 lines
267 B
Ruby
# 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
|