Sha256: 94b5350eb106f83ad0cbd7798f34f15e01418a4600ffffcff50691f5e1d595f7

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

require 'active_support/core_ext/hash'

module Rein
  module Constraint
  end
end

RC = Rein::Constraint

require 'rein/constraint/foreign_key'
require 'rein/constraint/numericality'
require 'rein/version'

if defined?(ActiveRecord)
  module ActiveRecord::ConnectionAdapters
    class PostgreSQLAdapter < AbstractAdapter
      include RC::ForeignKey
      include RC::Numericality
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rein-0.2.1 lib/rein.rb
rein-0.2.0 lib/rein.rb