Sha256: a71eded3f4acc9a7ed86e22768a59d19ef824b79b06130ac09e8183be71fe702

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

require 'active_support'
require 'active_support/core_ext/object/try'
require "rescue_from_duplicate/active_record/version"

module RescueFromDuplicate
  module ActiveRecord
  end
end

require 'rescue_from_duplicate/active_record/extension'
require 'rescue_from_duplicate/rescuer'

ActiveSupport.on_load(:active_record) do
  ::ActiveRecord::Base.send :include, RescueFromDuplicate::ActiveRecord::Extension
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activerecord-rescue_from_duplicate-0.0.6 lib/rescue_from_duplicate/active_record.rb
activerecord-rescue_from_duplicate-0.0.5 lib/rescue_from_duplicate/active_record.rb
activerecord-rescue_from_duplicate-0.0.4 lib/rescue_from_duplicate/active_record.rb