Sha256: a39926cf94744f27c671c19e91c4fc7ba80c4e596941ed324ae2329f40281d89

Contents?: true

Size: 891 Bytes

Versions: 3

Compression:

Stored size: 891 Bytes

Contents

require 'active_record'
require 'rein/constraint/foreign_key'
require 'rein/constraint/inclusion'
require 'rein/constraint/length'
require 'rein/constraint/match'
require 'rein/constraint/null'
require 'rein/constraint/numericality'
require 'rein/constraint/presence'
require 'rein/constraint/primary_key'
require 'rein/constraint/unique'
require 'rein/schema'
require 'rein/type/enum'
require 'rein/view'

module ActiveRecord
  class Migration # :nodoc:
    include Rein::Constraint::ForeignKey
    include Rein::Constraint::Inclusion
    include Rein::Constraint::Length
    include Rein::Constraint::Match
    include Rein::Constraint::Null
    include Rein::Constraint::Numericality
    include Rein::Constraint::Presence
    include Rein::Constraint::PrimaryKey
    include Rein::Constraint::Unique
    include Rein::Schema
    include Rein::Type::Enum
    include Rein::View
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rein-3.5.0 lib/rein.rb
rein-3.4.0 lib/rein.rb
rein-3.3.0 lib/rein.rb