Sha256: aeedd0a76a123c952e5656e614545512c1cfd5f75213fa7ef6a4850882bdcdb2

Contents?: true

Size: 610 Bytes

Versions: 6

Compression:

Stored size: 610 Bytes

Contents

# frozen_string_literal: true

require 'yaml'
require 'set'
require 'active_support/all'
require 'active_model'

require 'frozen_record/version'
require 'frozen_record/scope'
require 'frozen_record/index'
require 'frozen_record/base'
require 'frozen_record/compact'
require 'frozen_record/deduplication'

module FrozenRecord
  RecordNotFound = Class.new(StandardError)

  class << self
    attr_accessor :deprecated_yaml_erb_backend

    def eager_load!
      Base.descendants.each(&:eager_load!)
    end
  end

  self.deprecated_yaml_erb_backend = true
end

require 'frozen_record/railtie' if defined?(Rails)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
frozen_record-0.19.5 lib/frozen_record.rb
frozen_record-0.19.4 lib/frozen_record.rb
frozen_record-0.19.3 lib/frozen_record.rb
frozen_record-0.19.2 lib/frozen_record.rb
frozen_record-0.19.1 lib/frozen_record.rb
frozen_record-0.19.0 lib/frozen_record.rb