Sha256: 12d374ce2bf24d9240142a1d0ccc98ac661197fc95e2cc30f87020e50797d782

Contents?: true

Size: 207 Bytes

Versions: 7

Compression:

Stored size: 207 Bytes

Contents

module PgSearch
  module Compatibility
    def self.build_quoted(string)
      if defined?(Arel::Nodes::Quoted)
        Arel::Nodes.build_quoted(string)
      else
        string
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pg_search-1.0.6 lib/pg_search/compatibility.rb
pg_search-1.0.5 lib/pg_search/compatibility.rb
pg_search-1.0.4 lib/pg_search/compatibility.rb
pg_search-1.0.3 lib/pg_search/compatibility.rb
pg_search-1.0.2 lib/pg_search/compatibility.rb
pg_search-1.0.1 lib/pg_search/compatibility.rb
pg_search-1.0.0 lib/pg_search/compatibility.rb