Sha256: a58132744a15464ce36b53c356d9950c600c520887a89845855c40870d31d3c1
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 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/validations' class ActiveRecord::Base def self.validates_strict_columns(options = {}) ActiveRecord::MySQL::Strict::Validations.define_mysql_strict_validations(self, options) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord_mysql_strict-0.2 | lib/activerecord_mysql_strict.rb |