Sha256: f9f53f7809a96ba61bb21cd4a4c5ad80aa46b95e35074ea61111086945ae11a6

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'active_record/mysql/strict/version'

require 'active_record'
require 'active_model'
require 'active_support'

require 'active_record/mysql/strict/strict_length_validator'
require 'active_record/mysql/strict/mixin'

class ActiveRecord::Base
  def self.validates_strict_columns(options = {})
    @mysql_strict_options = options
    include ActiveRecord::MySQL::Strict::Mixin
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord_mysql_strict-0.1.1 lib/activerecord_mysql_strict.rb