Sha256: a3f9488c09e3dc25d45d0aee871bf004b4c53acb8cce0b3e06c444dc53579b4e

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

module Torque
  module PostgreSQL
    # = Torque PostgreSQL Railtie
    class Railtie < Rails::Railtie # :nodoc:

      # Eger load PostgreSQL namespace
      config.eager_load_namespaces << Torque::PostgreSQL

      # Get information from the running rails app
      runner do |app|
        Torque::PostgreSQL.config.eager_load = app.config.eager_load
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
torque-postgresql-0.2.3 lib/torque/postgresql/railtie.rb
torque-postgresql-0.2.2 lib/torque/postgresql/railtie.rb
torque-postgresql-0.2.1 lib/torque/postgresql/railtie.rb