From 9683dc619d754edbe02757ce74f349d40604a761 Mon Sep 17 00:00:00 2001 From: Randall Floyd Date: Fri, 11 Oct 2024 15:35:41 -0400 Subject: [PATCH] Patching Arel to add deprecated table_name alias, which is used extensively --- config/initializers/arel_rails_7_2_monkey_patch.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 config/initializers/arel_rails_7_2_monkey_patch.rb diff --git a/config/initializers/arel_rails_7_2_monkey_patch.rb b/config/initializers/arel_rails_7_2_monkey_patch.rb new file mode 100644 index 0000000000..4644a79683 --- /dev/null +++ b/config/initializers/arel_rails_7_2_monkey_patch.rb @@ -0,0 +1,5 @@ +class Arel::Table + def table_name + name + end +end