Sha256: e100caa10d16ef9ea11ea11f6e52b0d335cada378825da0ffff3cc47480c2d6f

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

require "active_record_association_query_economizer/version"

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.1'])
  require 'active_record_association_query_economizer/rails5/associations'
else
  puts "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.0 lib/active_record_association_query_economizer.rb