Sha256: c0608ac0cc0037228b9f528155a6bef5ef26cd0139287c126fb222077a70fd02

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

require 'active_record'

if ActiveRecord::VERSION::STRING =~ /^3\.0/
  require 'store_base_sti_class_for_3_0'
elsif ActiveRecord::VERSION::STRING =~ /^3\.(1|2)/
  require 'store_base_sti_class_for_3_1_and_above'
elsif ActiveRecord::VERSION::STRING =~ /^4\.0/
  require 'store_base_sti_class_for_4_0'
elsif ActiveRecord::VERSION::STRING =~ /^4\.1/
  require 'store_base_sti_class_for_4_1'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
store_base_sti_class-0.2.1 lib/store_base_sti_class.rb
store_base_sti_class-0.2.0 lib/store_base_sti_class.rb