Sha256: c69b0bd555c93a34387c1dad584e6fae50d76dd6dcee2e56fe3df91c40f952a0

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

require "active_record_association_query_economizer/version"
require 'active_record_association_query_economizer/association_extension'

activerecord_version = ActiveRecord.version
case activerecord_version
when Gem::Requirement.create(['>= 4.2', '< 5'])
  require 'active_record_association_query_economizer/rails4-2/associations'
when Gem::Requirement.create(['>= 5.0', '<= 5.1.5'])
  require 'active_record_association_query_economizer/rails5/associations'
else
  Kernel.warn "active_record_association_query_economizer doesn't yet do anything on ActiveRecord #{activerecord_version}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record_association_query_economizer-0.1.5 lib/active_record_association_query_economizer.rb