module Polymorpheus

Thanks to matthuhiggins/foreigner gem for the template used here

Constants

VERSION

Public Class Methods

require_foreigner?() click to toggle source
# File lib/polymorpheus.rb, line 27
def self.require_foreigner?
  ActiveRecord::VERSION::MAJOR < 5 &&
  !(::ActiveRecord::VERSION::MAJOR >= 4 &&
    ::ActiveRecord::VERSION::MINOR >= 2)
end