Sha256: 59e7b69f31cf4105163560ed4285c6b0915a749d9e11d724d88ed777f25aa9d4

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

# frozen_string_literal: true

require 'active_support/lazy_load_hooks'
require 'global_registry_bindings/global_registry_bindings'

ActiveSupport.on_load(:active_record) do
  ActiveRecord::Base.send :extend, GlobalRegistry::Bindings
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
global-registry-bindings-0.0.5 lib/global_registry_bindings.rb
global-registry-bindings-0.0.4 lib/global_registry_bindings.rb
global-registry-bindings-0.0.3 lib/global_registry_bindings.rb
global-registry-bindings-0.0.2 lib/global_registry_bindings.rb
global-registry-bindings-0.0.1 lib/global_registry_bindings.rb