Sha256: 9b120e2a121f5a605d8ebde6746cbb624a6e4dceda402de4869f0dd5973f067a

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

require 'rubygems'
require 'active_record'
require 'postgres_upsert/active_record'
require 'postgres_upsert/writer'
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

4 entries across 4 versions & 1 rubygems

Version Path
postgres_upsert-3.2.0-java lib/postgres_upsert.rb
postgres_upsert-3.1.0-java lib/postgres_upsert.rb
postgres_upsert-3.0.0 lib/postgres_upsert.rb
postgres_upsert-2.0.0 lib/postgres_upsert.rb