Sha256: d51cc0d1590ce6289f2a9e1938749b622865e8b16dcada4405da2051956c0c8b

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

require 'active_record'

if ActiveRecord::VERSION::STRING =~ /^4\.2/
  require 'store_base_sti_class_for_4_2'
elsif ActiveRecord::VERSION::STRING =~ /^5\.0/
  require 'store_base_sti_class_for_5_0'
elsif ActiveRecord::VERSION::STRING =~ /^5\.1/
  require 'store_base_sti_class_for_5_1'
elsif ActiveRecord::VERSION::STRING =~ /^5\.2/
  require 'store_base_sti_class_for_5_2'
elsif ActiveRecord::VERSION::STRING =~ /^6\.0/
  require 'store_base_sti_class_for_6_0'
end

module StoreBaseSTIClass
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
store_base_sti_class-2.0.1 lib/store_base_sti_class.rb
store_base_sti_class-2.0.0 lib/store_base_sti_class.rb