Sha256: 4286e90d09be6529ca2cc38e207ed848493da0e46e1f48bce174bfe3147e3377
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 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.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
2 entries across 2 versions & 1 rubygems