From 7b30a3c7cfc398f577de01569f1983864248e51f Mon Sep 17 00:00:00 2001 From: Sojan Date: Mon, 12 Feb 2024 13:39:04 +0530 Subject: [PATCH 1/2] chore: Add Active Record Doctor --- Gemfile | 1 + Gemfile.lock | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index a21af8c01ae7..03c0b246ad4c 100644 --- a/Gemfile +++ b/Gemfile @@ -204,6 +204,7 @@ group :development do gem 'stackprof' # Should install the associated chrome extension to view query logs gem 'meta_request' + gem 'active_record_doctor' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 35e1e2a48c6d..53817fed86fa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -78,6 +78,8 @@ GEM erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) + active_record_doctor (1.14.0) + activerecord (>= 4.2.0) active_record_query_trace (1.8) activejob (7.0.8) activesupport (= 7.0.8) @@ -837,6 +839,7 @@ PLATFORMS x86_64-linux DEPENDENCIES + active_record_doctor active_record_query_trace activerecord-import acts-as-taggable-on From 07cc86698e554e328964d6ebff4e61c244e7cf93 Mon Sep 17 00:00:00 2001 From: Sojan Date: Mon, 12 Feb 2024 15:00:59 +0530 Subject: [PATCH 2/2] chore: fixes --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 03c0b246ad4c..159f6e9074c0 100644 --- a/Gemfile +++ b/Gemfile @@ -203,8 +203,8 @@ group :development do gem 'rack-mini-profiler', '>= 3.2.0', require: false gem 'stackprof' # Should install the associated chrome extension to view query logs - gem 'meta_request' gem 'active_record_doctor' + gem 'meta_request' end group :test do