Sha256: da68c658ba85eae7b08bef3b944275f0c3a13b97c011ef588131783070861e91

Contents?: true

Size: 424 Bytes

Versions: 4

Compression:

Stored size: 424 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'active_record'
require 'active_support'
require 'active_support/concern'

module AssociationCallbacks

  def self.version
    @@version ||= File.read(File.expand_path("#{__dir__}/../VERSION")).strip.freeze
  end

end

lib_path = "#{__dir__}/association_callbacks"

require "#{lib_path}/active_record"

ActiveRecord::Base.send(:include, AssociationCallbacks::ActiveRecord)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
association_callbacks-1.1.1 lib/association_callbacks.rb
association_callbacks-1.1.0 lib/association_callbacks.rb
association_callbacks-1.0.1 lib/association_callbacks.rb
association_callbacks-1.0.0 lib/association_callbacks.rb