Sha256: 638e9febdf6ec7a2b4beff560dc4b5033444577b1c3265e5d162c900f180d99e
Contents?: true
Size: 585 Bytes
Versions: 3
Compression:
Stored size: 585 Bytes
Contents
module Rein module Constraint end end RC = Rein::Constraint require 'active_record' require 'active_support/core_ext/hash' require 'rein/constraint/foreign_key' require 'rein/constraint/primary_key' require 'rein/constraint/inclusion' require 'rein/constraint/numericality' module ActiveRecord::ConnectionAdapters class MysqlAdapter < AbstractAdapter include RC::PrimaryKey include RC::ForeignKey end class PostgreSQLAdapter < AbstractAdapter include RC::PrimaryKey include RC::ForeignKey include RC::Inclusion include RC::Numericality end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rein-0.5.2 | lib/rein.rb |
rein-0.5.1 | lib/rein.rb |
rein-0.5.0 | lib/rein.rb |