Sha256: caa11668efb766f5669f7aba7145cba4a692ca8e021b3a54612da6c51ffeab3e

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 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/inclusion'
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

1 entries across 1 versions & 1 rubygems

Version Path
rein-0.3.0 lib/rein.rb