Sha256: 243a7c687b63e7028ba16a369074cca9acf2d8f1d5cdf8878efdcdade1129dad
Contents?: true
Size: 765 Bytes
Versions: 14
Compression:
Stored size: 765 Bytes
Contents
# encoding: UTF-8 require 'active_record' begin ar_version = if ActiveRecord::VERSION.const_defined?(:STRING) ActiveRecord::VERSION::STRING else ActiveRecord.version.version end if ar_version >= '4.0.0' require 'arel-helpers/ext/collection_proxy' end rescue puts 'ArelHelpers was unable to determine the version of ActiveRecord. You may encounter unexpected behavior.' end module ArelHelpers autoload :Aliases, "arel-helpers/aliases" autoload :ArelTable, "arel-helpers/arel_table" autoload :JoinAssociation, "arel-helpers/join_association" autoload :QueryBuilder, "arel-helpers/query_builder" def self.join_association(*args, &block) ArelHelpers::JoinAssociation.join_association(*args, &block) end end
Version data entries
14 entries across 14 versions & 1 rubygems