Sha256: 393642439c0606bd29085fbdb850cab4d88f77d5fe0fd5fb1d0f496b679d938b

Contents?: true

Size: 310 Bytes

Versions: 8

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

require 'active_support/lazy_load_hooks'
require 'global_registry_bindings/global_registry_bindings'
require 'global_registry_bindings/railtie' if defined? ::Rails::Railtie

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
global-registry-bindings-0.1.6 lib/global_registry_bindings.rb
global-registry-bindings-0.1.5 lib/global_registry_bindings.rb
global-registry-bindings-0.1.4 lib/global_registry_bindings.rb
global-registry-bindings-0.1.3 lib/global_registry_bindings.rb
global-registry-bindings-0.1.2 lib/global_registry_bindings.rb
global-registry-bindings-0.1.1 lib/global_registry_bindings.rb
global-registry-bindings-0.1.0 lib/global_registry_bindings.rb
global-registry-bindings-0.0.6 lib/global_registry_bindings.rb