Sha256: 54fac829c432d266680b42f7495f7f50b7c95e82bd2576a5ddec06732fec7b36
Contents?: true
Size: 348 Bytes
Versions: 2
Compression:
Stored size: 348 Bytes
Contents
require "arel/visitors/depth_first" # Workaround for https://github.com/Casecommons/pg_search/issues/101 # Based on the solution from https://github.com/ernie/squeel/issues/122 Arel::Visitors::DepthFirst.class_eval do unless method_defined?(:visit_Arel_Nodes_InfixOperation) alias_method :visit_Arel_Nodes_InfixOperation, :binary end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pg_search-1.0.6 | lib/pg_search/extensions/arel.rb |
pg_search-1.0.5 | lib/pg_search/extensions/arel.rb |