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 Sep 1, 2023
1 parent 34188e3 commit 357b289
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 357b289

Please sign in to comment.