Sha256: 66b0439763b85221709a5e6fd0b12679369ec4aa6eeb534b16dfaacc063aeee3

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

require 'active_model/associations/hooks'
require 'eac_ruby_utils/require_sub'

module EacRailsUtils
  module Patches
    module Rails4
      ::EacRubyUtils.require_sub __FILE__

      class << self
        def enabled?
          ::Rails.version < '5'
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
eac_rails_utils-0.20.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.19.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.18.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.17.2 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.17.1 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.17.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.16.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.15.2 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.15.1 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.15.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.14.1 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.14.0 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.13.5 lib/eac_rails_utils/patches/rails_4.rb
eac_rails_utils-0.13.4 lib/eac_rails_utils/patches/rails_4.rb