Skip to content

Commit

Permalink
Monkeypatch table_name needed for ransack
Browse files Browse the repository at this point in the history
  • Loading branch information
peterberkenbosch committed Oct 6, 2023
1 parent ab4f009 commit 5fbd2a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/lib/solidus_core.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# frozen_string_literal: true

require 'spree_core'

class Arel::Table
def table_name
name
end
end

0 comments on commit 5fbd2a5

Please sign in to comment.