Sha256: eba43fa19bbfb444a7c48a678e20908322de044aef4b078e0ae24a8710ad3f9e

Contents?: true

Size: 336 Bytes

Versions: 9

Compression:

Stored size: 336 Bytes

Contents

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

require 'frozen_record/version'
require 'frozen_record/scope'
require 'frozen_record/base'

module FrozenRecord
  RecordNotFound = Class.new(StandardError)

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
frozen_record-0.15.0 lib/frozen_record.rb
frozen_record-0.14.0 lib/frozen_record.rb
frozen_record-0.13.0 lib/frozen_record.rb
frozen_record-0.12.1 lib/frozen_record.rb
frozen_record-0.12.0 lib/frozen_record.rb
frozen_record-0.11.0 lib/frozen_record.rb
frozen_record-0.10.0 lib/frozen_record.rb
frozen_record-0.9.0 lib/frozen_record.rb
frozen_record-0.8.0 lib/frozen_record.rb