Sha256: f2d95ab6a8b6a44d91aa534b7eea7f18f65deb13a4a9d41c9e2f330bdbda6667

Contents?: true

Size: 374 Bytes

Versions: 6

Compression:

Stored size: 374 Bytes

Contents

require 'rubygems'
require 'active_record'
require 'postgres-copy/active_record'
require 'rails'

class PostgresCopy < Rails::Railtie

  initializer 'postgres-copy' do
    ActiveSupport.on_load :active_record do
      require "postgres-copy/active_record"
    end
    ActiveSupport.on_load :action_controller do
      require "postgres-copy/csv_responder"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
postgres-copy-0.7.0 lib/postgres-copy.rb
postgres-copy-0.6.0 lib/postgres-copy.rb
postgres-copy-0.5.8 lib/postgres-copy.rb
postgres-copy-0.5.7 lib/postgres-copy.rb
postgres-copy-0.5.5 lib/postgres-copy.rb
postgres-copy-0.5.4 lib/postgres-copy.rb