Skip to content

Commit

Permalink
Patching Arel to add deprecated table_name alias, which is used exten…
Browse files Browse the repository at this point in the history
…sively
  • Loading branch information
randalldfloyd committed Oct 11, 2024
1 parent a34ed3b commit ad0ba7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/initializers/arel_rails_7_2_monkey_patch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true
class Arel::Table
def table_name
name
end
end

0 comments on commit ad0ba7f

Please sign in to comment.