Sha256: 8cc7ebc87506693f4df471e7ef320b70e85afcae9e69a2b015f9f4df7ea9708d

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

require 'rubygems'
require 'active_record'
require 'postgres_upsert/active_record'
require 'rails'

class PostgresCopy < Rails::Railtie

  initializer 'postgres_upsert' do
    ActiveSupport.on_load :active_record do
      require "postgres_upsert/active_record"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
postgres_upsert-1.1.0 lib/postgres_upsert.rb
postgres_upsert-1.0.0 lib/postgres_upsert.rb