Sha256: 112f7cfd7cbebb3613142e070c033e786e4c83d9db97e0769713a982516de196

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

## TODO: Change to ~> 4.2.0 on gem release

gdep = Gem::Dependency.new('activerecord', '~> 4.2.0.beta4')
ar_version_cutoff = gdep.matching_specs.sort_by(&:version).last

require 'postgres_ext/active_record/relation/merger'
require 'postgres_ext/active_record/relation/query_methods'
if ar_version_cutoff
  require 'postgres_ext/active_record/relation/predicate_builder/array_handler'
else
  require 'postgres_ext/active_record/relation/predicate_builder'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
postgres_ext-3.0.1 lib/postgres_ext/active_record/relation.rb
postgres_ext-3.0.0 lib/postgres_ext/active_record/relation.rb